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.001327/0.001327, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001418/0.001418, allocations: 162.2 kB / 22.46 MB, free: 5.359 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.419/1.419, allocations: 177.1 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.214/1.214, allocations: 154.6 MB / 413.8 MB, free: 5.242 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 1.784e-06/1.784e-06, allocations: 0 / 0.6186 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.636e-05/2.814e-05, allocations: 11.77 kB / 0.6186 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001656/0.001684, allocations: 0.6965 MB / 0.6193 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.003248, allocations: 1.143 MB / 0.6204 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.448e-05/0.003292, allocations: 1.156 kB / 0.6204 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.636e-05/0.003319, allocations: 11.92 kB / 0.6204 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.476e-05/0.003403, allocations: 15.86 kB / 0.6205 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004461/0.003849, allocations: 132 kB / 0.6206 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.004041, allocations: 131.8 kB / 0.6207 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.831e-05/0.004119, allocations: 6.156 kB / 0.6207 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.004237, allocations: 75.81 kB / 0.6208 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.652e-05/0.004333, allocations: 27.95 kB / 0.6208 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.253e-05/0.004366, allocations: 16 kB / 0.6208 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.233e-05/0.004428, allocations: 16 kB / 0.6208 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.901e-05/0.004507, allocations: 19.91 kB / 0.6209 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.694e-05/0.004574, allocations: 39.92 kB / 0.6209 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.004785, allocations: 147.7 kB / 0.621 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.004788, allocations: 0 / 0.621 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.8e-07/0.004788, allocations: 0 / 0.621 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.004792, allocations: 4 kB / 0.621 GB, free: 2.039 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.0004886/0.005281, allocations: 315.8 kB / 0.6213 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.005317, allocations: 16.02 kB / 0.6214 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.992e-05/0.005367, allocations: 12.94 kB / 0.6214 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.005504, allocations: 121.6 kB / 0.6215 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.00552, allocations: 384 / 0.6215 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.005542, allocations: 12.38 kB / 0.6215 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.795e-05/0.00564, allocations: 50.12 kB / 0.6215 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.005648, allocations: 4.188 kB / 0.6216 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.005656, allocations: 384 / 0.6216 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.00566, allocations: 384 / 0.6216 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.683e-05/0.005707, allocations: 19.92 kB / 0.6216 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.006104, allocations: 252.5 kB / 0.6218 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.724e-05/0.006172, allocations: 26.58 kB / 0.6218 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.67e-05/0.006198, allocations: 16.86 kB / 0.6219 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.918e-06/0.006208, allocations: 0 / 0.6219 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001336/0.006342, allocations: 67.33 kB / 0.6219 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.006343, allocations: 0 / 0.6219 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001971/0.00654, allocations: 73.67 kB / 0.622 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.00659, allocations: 59.34 kB / 0.622 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.006718, allocations: 128.8 kB / 0.6222 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.006747, allocations: 29.7 kB / 0.6222 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.057e-05/0.006817, allocations: 92.12 kB / 0.6223 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.344e-05/0.006831, allocations: 7.953 kB / 0.6223 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.476e-05/0.006906, allocations: 29.7 kB / 0.6223 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.007056, allocations: 318.8 kB / 0.6226 GB, free: 252 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.00717, allocations: 69.69 kB / 0.6227 GB, free: 176 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.007295, allocations: 88.25 kB / 0.6228 GB, free: 72 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.007438, allocations: 92.22 kB / 0.6229 GB, free: 15.96 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.00744, allocations: 0 / 0.6229 GB, free: 15.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000328/0.007768, allocations: 204.9 kB / 0.6231 GB, free: 15.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.337e-05/0.007811, allocations: 37.64 kB / 0.6231 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.00782, allocations: 7.984 kB / 0.6231 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.007834, allocations: 0 / 0.6231 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.106e-05/0.007885, allocations: 4 kB / 0.6231 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.00789, allocations: 4.062 kB / 0.6231 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002097/0.0081, allocations: 27.91 kB / 0.6231 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.00812, allocations: 7.938 kB / 0.6231 GB, free: 15.65 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 0.0001048/0.008225, allocations: 118.8 kB / 0.6233 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.008243, allocations: 12.11 kB / 0.6233 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.253e-05/0.008276, allocations: 15.98 kB / 0.6233 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.008277, allocations: 0 / 0.6233 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.008281, allocations: 64 / 0.6233 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.008286, allocations: 8 kB / 0.6233 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.008405, allocations: 113.3 kB / 0.6234 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.008406, allocations: 3.938 kB / 0.6234 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.038e-05/0.008427, allocations: 11.92 kB / 0.6234 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.008428, allocations: 0 / 0.6234 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.008438, allocations: 3.938 kB / 0.6234 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.008439, allocations: 0 / 0.6234 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.00844, allocations: 4 kB / 0.6234 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.008568, allocations: 81.08 kB / 0.6235 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.188e-05/0.008579, allocations: 8 kB / 0.6235 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.008599, allocations: 7.922 kB / 0.6235 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.946e-05/0.008619, allocations: 4 kB / 0.6235 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.008643, allocations: 4 kB / 0.6235 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.008647, allocations: 0 / 0.6235 GB, free: 15.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.803e-05/0.008725, allocations: 99.27 kB / 0.6236 GB, free: 15.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.008725, allocations: 0 / 0.6236 GB, free: 15.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002178/0.008943, allocations: 16 kB / 0.6236 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.0001543/0.009098, allocations: 103.2 kB / 0.6237 GB, free: 14.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000271/0.009369, allocations: 153.1 kB / 0.6239 GB, free: 14.81 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.00937, allocations: 128 / 0.6239 GB, free: 14.81 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.026e-05/0.00941, allocations: 23.92 kB / 0.6239 GB, free: 14.79 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.009638, allocations: 15.98 kB / 0.6239 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003521/0.00999, allocations: 140.7 kB / 0.6241 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.275e-05/0.01005, allocations: 71.33 kB / 0.6241 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.776e-05/0.01008, allocations: 7.75 kB / 0.6241 GB, free: 14.51 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/0.0101, allocations: 8.5 kB / 0.6241 GB, free: 14.5 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.0101, allocations: 7.938 kB / 0.6241 GB, free: 14.49 MB / 0.545 GB Notification: Performance of Templates: time 0.004584/0.01469, allocations: 1.47 MB / 0.6256 GB, free: 13.08 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.631312299519777] Failed to read output from testmodel.py, exit status != 0: 0.023089002817869186 0.047401178 0.037840846000000004 Calling exit ...