Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008791/0.0008791, allocations: 96.36 kB / 19.7 MB, free: 456 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009104/0.0009104, allocations: 211.5 kB / 23 MB, free: 2.969 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1/1, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04034/0.04034, allocations: 12.18 MB / 325.4 MB, free: 6.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004834/0.0004834, allocations: 27.95 kB / 384.8 MB, free: 10.49 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.811/1.811, allocations: 353.8 MB / 0.7794 GB, free: 4.562 MB / 0.5105 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 118.5 kB / 1.061 GB, free: 24.7 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2668, allocations: 134.9 MB / 1.193 GB, free: 7.02 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001446/0.2683, allocations: 0.5373 MB / 1.193 GB, free: 6.484 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 5.082e-05/0.2683, allocations: 0 / 1.193 GB, free: 6.484 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.998e-05/0.2683, allocations: 0 / 1.193 GB, free: 6.484 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.59e-05/0.2684, allocations: 0 / 1.193 GB, free: 6.484 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 3.067e-05/0.2684, allocations: 4 kB / 1.193 GB, free: 6.48 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 3.807e-05/0.2684, allocations: 4 kB / 1.193 GB, free: 6.477 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 6.567e-05/0.2685, allocations: 11.92 kB / 1.193 GB, free: 6.465 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 6.236e-05/0.2686, allocations: 3.938 kB / 1.193 GB, free: 6.461 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 1.902e-05/0.2686, allocations: 0 / 1.193 GB, free: 6.461 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 2.319e-05/0.2686, allocations: 0 / 1.193 GB, free: 6.461 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.2686, allocations: 4 kB / 1.193 GB, free: 6.457 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 4.418e-06/0.2686, allocations: 0 / 1.193 GB, free: 6.457 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.2686, allocations: 0 / 1.193 GB, free: 6.457 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.257e-05/0.2687, allocations: 0 / 1.193 GB, free: 6.457 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 7.535e-05/0.2687, allocations: 3.984 kB / 1.193 GB, free: 6.453 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.2687, allocations: 8 kB / 1.193 GB, free: 6.445 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.445e-06/0.2688, allocations: 0 / 1.193 GB, free: 6.445 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.2688, allocations: 0 / 1.193 GB, free: 6.445 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002944/0.2691, allocations: 238.4 kB / 1.194 GB, free: 6.18 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.2691, allocations: 12.03 kB / 1.194 GB, free: 6.168 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.2691, allocations: 0.9375 kB / 1.194 GB, free: 6.168 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.729e-05/0.2692, allocations: 106.5 kB / 1.194 GB, free: 6.039 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.2692, allocations: 384 / 1.194 GB, free: 6.039 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.2692, allocations: 8.359 kB / 1.194 GB, free: 6.031 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.803e-05/0.2693, allocations: 30.27 kB / 1.194 GB, free: 5.996 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.2693, allocations: 4.188 kB / 1.194 GB, free: 5.992 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.2693, allocations: 3.938 kB / 1.194 GB, free: 5.988 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2694, allocations: 0 / 1.194 GB, free: 5.988 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.708e-05/0.2694, allocations: 7.938 kB / 1.194 GB, free: 5.98 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002717/0.2696, allocations: 323.2 kB / 1.194 GB, free: 5.633 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.574e-05/0.2697, allocations: 169.1 kB / 1.194 GB, free: 5.457 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.884e-05/0.2697, allocations: 84.56 kB / 1.194 GB, free: 5.371 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.2698, allocations: 91.09 kB / 1.194 GB, free: 5.281 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.2698, allocations: 105.8 kB / 1.195 GB, free: 5.168 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.2698, allocations: 0 / 1.195 GB, free: 5.168 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 6.441e-05/0.2699, allocations: 29.7 kB / 1.195 GB, free: 5.133 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.2699, allocations: 130.7 kB / 1.195 GB, free: 4.992 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.764e-05/0.27, allocations: 97.86 kB / 1.195 GB, free: 4.887 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.27, allocations: 25.7 kB / 1.195 GB, free: 4.855 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.327e-05/0.2701, allocations: 80.14 kB / 1.195 GB, free: 4.773 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.2701, allocations: 0 / 1.195 GB, free: 4.773 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.787e-05/0.2701, allocations: 13.72 kB / 1.195 GB, free: 4.754 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.106e-05/0.2702, allocations: 314.8 kB / 1.195 GB, free: 4.438 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.42e-06/0.2702, allocations: 0 / 1.195 GB, free: 4.438 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.21e-06/0.2702, allocations: 3.938 kB / 1.195 GB, free: 4.434 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.246e-05/0.2702, allocations: 75.41 kB / 1.195 GB, free: 4.359 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.869e-05/0.2702, allocations: 79.28 kB / 1.195 GB, free: 4.281 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.703e-05/0.2702, allocations: 33.64 kB / 1.195 GB, free: 4.242 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/0.2703, allocations: 79.28 kB / 1.196 GB, free: 4.164 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-05/0.2703, allocations: 79.28 kB / 1.196 GB, free: 4.086 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.952e-05/0.2703, allocations: 158.5 kB / 1.196 GB, free: 3.93 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.756e-05/0.2704, allocations: 75.28 kB / 1.196 GB, free: 3.855 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-05/0.2704, allocations: 162.5 kB / 1.196 GB, free: 3.695 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.473e-05/0.2704, allocations: 76.75 kB / 1.196 GB, free: 3.621 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.2705, allocations: 79.22 kB / 1.196 GB, free: 3.543 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.633e-05/0.2706, allocations: 264.3 kB / 1.196 GB, free: 3.273 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.782e-05/0.2706, allocations: 112.9 kB / 1.196 GB, free: 3.156 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.487e-05/0.2706, allocations: 104 kB / 1.197 GB, free: 3.051 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.584e-05/0.2707, allocations: 188.2 kB / 1.197 GB, free: 2.859 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.442e-05/0.2707, allocations: 176.3 kB / 1.197 GB, free: 2.68 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.455e-05/0.2708, allocations: 176.3 kB / 1.197 GB, free: 2.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.2709, allocations: 356.8 kB / 1.197 GB, free: 2.113 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.59e-05/0.2709, allocations: 105 kB / 1.198 GB, free: 2.004 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.68e-05/0.2709, allocations: 112.9 kB / 1.198 GB, free: 1.887 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-05/0.271, allocations: 180.2 kB / 1.198 GB, free: 1.703 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.868e-05/0.271, allocations: 180.2 kB / 1.198 GB, free: 1.52 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-05/0.2711, allocations: 184.6 kB / 1.198 GB, free: 1.332 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.487e-05/0.2711, allocations: 180.3 kB / 1.198 GB, free: 1.148 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.2712, allocations: 311.8 kB / 1.199 GB, free: 0.8203 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.598e-05/0.2713, allocations: 116.9 kB / 1.199 GB, free: 0.6992 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00031/0.2716, allocations: 180.3 kB / 1.199 GB, free: 0.5156 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.506e-05/0.2716, allocations: 105 kB / 1.199 GB, free: 416 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.2717, allocations: 184.2 kB / 1.199 GB, free: 224 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/0.2717, allocations: 101 kB / 1.199 GB, free: 116 kB / 0.823 GB Notification: Performance of sorting global known variables: time 2.847e-05/0.2717, allocations: 79.22 kB / 1.199 GB, free: 36 kB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2717, allocations: 0 / 1.199 GB, free: 36 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001604/0.2719, allocations: 12.05 kB / 1.199 GB, free: 24 kB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001177/0.272, allocations: 166.5 kB / 1.2 GB, free: 15.85 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 4.425e-05/0.272, allocations: 7.938 kB / 1.2 GB, free: 15.84 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2721, allocations: 0 / 1.2 GB, free: 15.84 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 3.286e-06/0.2721, allocations: 7.984 kB / 1.2 GB, free: 15.83 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.2723, allocations: 455.7 kB / 1.2 GB, free: 15.38 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000231/0.2725, allocations: 181.8 kB / 1.2 GB, free: 15.17 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.06e-05/0.2726, allocations: 55.36 kB / 1.2 GB, free: 15.1 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.268e-05/0.2726, allocations: 7.438 kB / 1.2 GB, free: 15.09 MB / 0.8387 GB Notification: Performance of SimCode: time 3.21e-07/0.2726, allocations: 4 kB / 1.2 GB, free: 15.09 MB / 0.8387 GB Notification: Performance of Templates: time 0.001141/0.2737, allocations: 311.8 kB / 1.201 GB, free: 14.78 MB / 0.8387 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.148629407398403] Failed to read output from testmodel.py, exit status != 0: 0.2798667512834072 0.287911866 0.017231866000000002 Calling exit ...