Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.0007336/0.0007336, allocations: 96.38 kB / 19.7 MB, free: 448 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.0008231/0.0008231, allocations: 211.2 kB / 23 MB, free: 2.977 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 0.8764/0.8764, allocations: 230.6 MB / 256.8 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7677/0.7677, allocations: 203.5 MB / 0.5046 GB, free: 10.7 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.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(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 660] "Notification: IDEAS 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.0009477/0.0009477, allocations: 65.72 kB / 0.719 GB, free: 3.875 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4585/0.4594, allocations: 102 MB / 0.8186 GB, free: 1.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001606/0.4611, allocations: 0.9109 MB / 0.8195 GB, free: 0.9297 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.4625, allocations: 1.457 MB / 0.8209 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.434e-05/0.4625, allocations: 0 / 0.8209 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.39e-05/0.4626, allocations: 21.05 kB / 0.8209 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.4627, allocations: 55.58 kB / 0.821 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008572/0.4636, allocations: 449 kB / 0.8214 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004605/0.464, allocations: 487.1 kB / 0.8219 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.4641, allocations: 32.8 kB / 0.8219 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.4643, allocations: 192.2 kB / 0.8221 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.4645, allocations: 149.5 kB / 0.8222 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.779e-05/0.4646, allocations: 47.47 kB / 0.8223 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.793e-05/0.4647, allocations: 58.17 kB / 0.8223 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.912e-05/0.4647, allocations: 45.25 kB / 0.8224 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.4649, allocations: 149.7 kB / 0.8225 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005174/0.4654, allocations: 496 kB / 0.823 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4654, allocations: 0.75 kB / 0.823 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.744e-06/0.4654, allocations: 1.125 kB / 0.823 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.4654, allocations: 0 / 0.823 GB, free: 14.91 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007412/0.4661, allocations: 0.5671 MB / 0.8236 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.4662, allocations: 9.375 kB / 0.8236 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.618e-05/0.4663, allocations: 31.58 kB / 0.8236 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.4664, allocations: 167.7 kB / 0.8238 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.4664, allocations: 16.28 kB / 0.8238 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.043e-05/0.4665, allocations: 23.67 kB / 0.8238 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.4667, allocations: 129.8 kB / 0.8239 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.4667, allocations: 192 / 0.8239 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.4667, allocations: 5.656 kB / 0.8239 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4667, allocations: 2.281 kB / 0.8239 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.382e-05/0.4668, allocations: 60.86 kB / 0.824 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007075/0.4675, allocations: 0.7225 MB / 0.8247 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.4676, allocations: 115.4 kB / 0.8248 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.43e-05/0.4677, allocations: 49.64 kB / 0.8249 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.4677, allocations: 1.344 kB / 0.8249 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000255/0.4679, allocations: 178.1 kB / 0.825 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.4679, allocations: 0 / 0.825 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0003719/0.4683, allocations: 228.4 kB / 0.8252 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/0.4684, allocations: 138.4 kB / 0.8254 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.4686, allocations: 244.3 kB / 0.8256 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.148e-05/0.4686, allocations: 37.75 kB / 0.8256 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.502e-05/0.4687, allocations: 127.9 kB / 0.8258 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.4687, allocations: 43.97 kB / 0.8258 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.4688, allocations: 93.25 kB / 0.8259 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.604e-05/0.4689, allocations: 338.7 kB / 0.8262 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002801/0.4692, allocations: 271.9 kB / 0.8265 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/0.4695, allocations: 350.7 kB / 0.8268 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.4698, allocations: 373.9 kB / 0.8272 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.4698, allocations: 1.219 kB / 0.8272 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006708/0.4705, allocations: 0.6856 MB / 0.8278 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.584e-05/0.4706, allocations: 134.7 kB / 0.828 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.4706, allocations: 3.359 kB / 0.828 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.4706, allocations: 8.656 kB / 0.828 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.686e-05/0.4707, allocations: 18.73 kB / 0.828 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.4707, allocations: 13 kB / 0.828 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003658/0.471, allocations: 112.6 kB / 0.8281 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/0.4711, allocations: 31.16 kB / 0.8281 GB, free: 10.84 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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 0.0001156/0.4712, allocations: 150.1 kB / 0.8283 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.4712, allocations: 21.97 kB / 0.8283 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.182e-05/0.4713, allocations: 21.47 kB / 0.8283 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.4713, allocations: 4.656 kB / 0.8283 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.4713, allocations: 0 / 0.8283 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.4713, allocations: 3.844 kB / 0.8283 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.4714, allocations: 185.9 kB / 0.8285 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.4714, allocations: 0.6094 kB / 0.8285 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.834e-05/0.4715, allocations: 14.14 kB / 0.8285 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.4715, allocations: 1.375 kB / 0.8285 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.4715, allocations: 4.5 kB / 0.8285 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.4715, allocations: 1.594 kB / 0.8285 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4715, allocations: 1.344 kB / 0.8285 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.4717, allocations: 227.7 kB / 0.8288 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.479e-05/0.4717, allocations: 19.45 kB / 0.8288 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.4718, allocations: 8.312 kB / 0.8288 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.286e-05/0.4718, allocations: 1.859 kB / 0.8288 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.4718, allocations: 17.42 kB / 0.8288 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.4718, allocations: 11.12 kB / 0.8288 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001147/0.472, allocations: 172 kB / 0.829 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.472, allocations: 0 / 0.829 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002473/0.4722, allocations: 69.52 kB / 0.829 GB, free: 10.21 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001239/0.4723, allocations: 112.8 kB / 0.8291 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005332/0.4729, allocations: 0.6028 MB / 0.8297 GB, free: 9.621 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4729, allocations: 4.125 kB / 0.8297 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.473, allocations: 78.27 kB / 0.8298 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.4733, allocations: 66.67 kB / 0.8299 GB, free: 9.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005007/0.4738, allocations: 379.5 kB / 0.8302 GB, free: 9.285 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.933e-05/0.4739, allocations: 119.6 kB / 0.8304 GB, free: 9.207 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/0.4739, allocations: 23.39 kB / 0.8304 GB, free: 9.195 MB / 0.6198 GB Notification: Performance of SimCode: time 8.02e-07/0.4739, allocations: 0 / 0.8304 GB, free: 9.195 MB / 0.6198 GB Notification: Performance of Templates: time 0.006052/0.4799, allocations: 3.552 MB / 0.8338 GB, free: 8.82 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.83569523692131] Failed to read output from testmodel.py, exit status != 0: 0.48547902423888445 0.494298056 0.027029865 Calling exit ...