Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.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.00159/0.00159, allocations: 78.72 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001807/0.001807, allocations: 169.3 kB / 22.45 MB, free: 5.363 MB / 14.72 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.437/1.437, allocations: 177.2 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 1.186/1.186, allocations: 154.7 MB / 413.9 MB, free: 5.133 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] 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.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.6188 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.564e-05, allocations: 2.906 kB / 0.6188 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001858/0.001884, allocations: 0.6944 MB / 0.6195 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001686/0.00357, allocations: 1.155 MB / 0.6206 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.162e-05/0.003621, allocations: 0 / 0.6206 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.803e-05/0.003649, allocations: 3.938 kB / 0.6206 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.791e-05/0.003737, allocations: 27.78 kB / 0.6206 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005256/0.004263, allocations: 141.2 kB / 0.6208 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002183/0.004481, allocations: 123.8 kB / 0.6209 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.822e-05/0.004569, allocations: 4 kB / 0.6209 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.004708, allocations: 75.81 kB / 0.6209 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.004811, allocations: 27.97 kB / 0.621 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.968e-05/0.004841, allocations: 12 kB / 0.621 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.333e-05/0.004914, allocations: 23.98 kB / 0.621 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.626e-05/0.004941, allocations: 15.91 kB / 0.621 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.98e-05/0.005, allocations: 27.98 kB / 0.621 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.005242, allocations: 159.6 kB / 0.6212 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.005245, allocations: 4 kB / 0.6212 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.61e-07/0.005245, allocations: 0 / 0.6212 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.00525, allocations: 0 / 0.6212 GB, free: 2.047 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005325/0.005782, allocations: 319.8 kB / 0.6215 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.005821, allocations: 12.03 kB / 0.6215 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.711e-05/0.005878, allocations: 8.922 kB / 0.6215 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.006024, allocations: 125.6 kB / 0.6216 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.006043, allocations: 4.375 kB / 0.6217 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.006064, allocations: 4.375 kB / 0.6217 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.006165, allocations: 46.25 kB / 0.6217 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.006173, allocations: 4.188 kB / 0.6217 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.006182, allocations: 384 / 0.6217 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.006192, allocations: 4.375 kB / 0.6217 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.566e-05/0.006237, allocations: 15.92 kB / 0.6217 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.006647, allocations: 256.5 kB / 0.622 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.707e-05/0.006724, allocations: 26.56 kB / 0.622 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.622e-05/0.00675, allocations: 8.922 kB / 0.622 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.006762, allocations: 0 / 0.622 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/0.006906, allocations: 71.33 kB / 0.6221 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.006907, allocations: 3.938 kB / 0.6221 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.000224/0.007131, allocations: 81.61 kB / 0.6222 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.007184, allocations: 51.41 kB / 0.6222 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.007305, allocations: 129.8 kB / 0.6223 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.007333, allocations: 25.7 kB / 0.6224 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.204e-05/0.007405, allocations: 92.12 kB / 0.6224 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.007423, allocations: 7.953 kB / 0.6224 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.897e-05/0.007492, allocations: 33.7 kB / 0.6225 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.007636, allocations: 314.8 kB / 0.6228 GB, free: 264 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.007758, allocations: 69.69 kB / 0.6228 GB, free: 188 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.007878, allocations: 92.19 kB / 0.6229 GB, free: 80 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.008017, allocations: 92.22 kB / 0.623 GB, free: 15.97 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.008019, allocations: 0 / 0.623 GB, free: 15.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003396/0.008359, allocations: 204.9 kB / 0.6232 GB, free: 15.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.163e-05/0.008411, allocations: 41.64 kB / 0.6233 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.008415, allocations: 0 / 0.6233 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.008431, allocations: 7.984 kB / 0.6233 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.777e-05/0.008479, allocations: 0 / 0.6233 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.008488, allocations: 4 kB / 0.6233 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.008686, allocations: 31.97 kB / 0.6233 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.008705, allocations: 7.938 kB / 0.6233 GB, free: 15.66 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 9.815e-05/0.008803, allocations: 114.8 kB / 0.6234 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.008822, allocations: 15.88 kB / 0.6234 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.008853, allocations: 8 kB / 0.6234 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.008863, allocations: 4.234 kB / 0.6234 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.008868, allocations: 0 / 0.6234 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.008872, allocations: 3.984 kB / 0.6234 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.008981, allocations: 113.4 kB / 0.6236 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.008982, allocations: 4 kB / 0.6236 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.275e-05/0.009005, allocations: 7.984 kB / 0.6236 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.009007, allocations: 0 / 0.6236 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.009018, allocations: 7.938 kB / 0.6236 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.00902, allocations: 0 / 0.6236 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.009021, allocations: 3.938 kB / 0.6236 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.009159, allocations: 89.02 kB / 0.6237 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.406e-05/0.009173, allocations: 4 kB / 0.6237 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.009191, allocations: 11.92 kB / 0.6237 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.942e-05/0.009211, allocations: 0 / 0.6237 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.009235, allocations: 4 kB / 0.6237 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.00924, allocations: 4 kB / 0.6237 GB, free: 15.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.469e-05/0.009314, allocations: 103.1 kB / 0.6238 GB, free: 15.11 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.009314, allocations: 0 / 0.6238 GB, free: 15.11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002172/0.009531, allocations: 16 kB / 0.6238 GB, free: 15.09 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001484/0.00968, allocations: 99.23 kB / 0.6239 GB, free: 14.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002546/0.009934, allocations: 153 kB / 0.624 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.009936, allocations: 0 / 0.624 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.565e-05/0.009972, allocations: 15.98 kB / 0.6241 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.0102, allocations: 26.58 kB / 0.6241 GB, free: 14.78 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003226/0.01052, allocations: 147.7 kB / 0.6242 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.892e-05/0.01059, allocations: 71.33 kB / 0.6243 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.478e-05/0.01061, allocations: 3.75 kB / 0.6243 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.053e-05/0.01063, allocations: 12.5 kB / 0.6243 GB, free: 14.5 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.01063, allocations: 0 / 0.6243 GB, free: 14.5 MB / 0.545 GB Notification: Performance of Templates: time 0.004512/0.01514, allocations: 1.479 MB / 0.6257 GB, free: 13.07 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.643767835572362] Failed to read output from testmodel.py, exit status != 0: 0.02365078404545784 0.039468509000000006 0.031025843 Calling exit ...