Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.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.0008538/0.0008538, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.001147/0.001147, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8779/0.8779, allocations: 177.2 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7166/0.7166, allocations: 154.6 MB / 413.7 MB, free: 0.8164 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.806e-06/2.806e-06, allocations: 0 / 0.6181 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.479e-05, allocations: 10 kB / 0.6181 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.0018/0.001825, allocations: 1.192 MB / 0.6193 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.003344, allocations: 1.711 MB / 0.621 GB, free: 9.637 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.906e-05/0.003423, allocations: 4 kB / 0.621 GB, free: 9.633 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 4.345e-05/0.003467, allocations: 23.67 kB / 0.621 GB, free: 9.609 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.003621, allocations: 103.2 kB / 0.6211 GB, free: 9.508 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008944/0.004516, allocations: 0.6473 MB / 0.6217 GB, free: 8.879 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0005168/0.005033, allocations: 0.7679 MB / 0.6225 GB, free: 8.109 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.005169, allocations: 44.17 kB / 0.6225 GB, free: 8.062 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003065/0.005475, allocations: 431.3 kB / 0.6229 GB, free: 7.641 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/0.005702, allocations: 223.4 kB / 0.6231 GB, free: 7.422 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 6.413e-05/0.005766, allocations: 72 kB / 0.6232 GB, free: 7.352 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 9.527e-05/0.005862, allocations: 80 kB / 0.6233 GB, free: 7.273 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 4.639e-05/0.005908, allocations: 83.72 kB / 0.6234 GB, free: 7.191 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.006051, allocations: 219.6 kB / 0.6236 GB, free: 6.977 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0004858/0.006537, allocations: 0.8027 MB / 0.6243 GB, free: 6.172 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.006539, allocations: 0 / 0.6243 GB, free: 6.172 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.322e-06/0.00654, allocations: 0 / 0.6243 GB, free: 6.172 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.006546, allocations: 0 / 0.6243 GB, free: 6.172 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0008931/0.007439, allocations: 0.8614 MB / 0.6252 GB, free: 5.227 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.007474, allocations: 17.41 kB / 0.6252 GB, free: 5.211 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.007509, allocations: 46.73 kB / 0.6252 GB, free: 5.156 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.324e-05/0.007592, allocations: 52.7 kB / 0.6253 GB, free: 5.105 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007945/0.008386, allocations: 400.2 kB / 0.6257 GB, free: 4.691 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.319e-05/0.008419, allocations: 32.22 kB / 0.6257 GB, free: 4.66 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.574e-05/0.008485, allocations: 44.38 kB / 0.6258 GB, free: 4.617 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002865/0.008772, allocations: 216.6 kB / 0.626 GB, free: 4.391 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.00878, allocations: 192 / 0.626 GB, free: 4.391 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.008797, allocations: 12.38 kB / 0.626 GB, free: 4.379 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.008804, allocations: 7.938 kB / 0.626 GB, free: 4.371 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001857/0.00899, allocations: 119.9 kB / 0.6261 GB, free: 4.254 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007681/0.009758, allocations: 0.8158 MB / 0.6269 GB, free: 3.387 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003733/0.01013, allocations: 224.1 kB / 0.6271 GB, free: 3.141 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.01027, allocations: 102.5 kB / 0.6272 GB, free: 3.031 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.01029, allocations: 4 kB / 0.6272 GB, free: 3.027 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003396/0.01063, allocations: 291.6 kB / 0.6275 GB, free: 2.723 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=37): time 1.102e-06/0.01063, allocations: 0 / 0.6275 GB, free: 2.723 MB / 0.5417 GB Notification: Performance of matching and sorting (n=37): time 0.0006367/0.01127, allocations: 464.6 kB / 0.6279 GB, free: 2.266 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.01132, allocations: 118.7 kB / 0.628 GB, free: 2.125 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.01148, allocations: 272.1 kB / 0.6283 GB, free: 1.855 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.07e-05/0.01153, allocations: 45.7 kB / 0.6283 GB, free: 1.805 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.613e-05/0.01163, allocations: 157 kB / 0.6285 GB, free: 1.648 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.865e-05/0.01169, allocations: 103.2 kB / 0.6286 GB, free: 1.547 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.01183, allocations: 154.1 kB / 0.6287 GB, free: 1.391 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.714e-05/0.01192, allocations: 350.8 kB / 0.6291 GB, free: 1.039 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000389/0.01231, allocations: 407 kB / 0.6295 GB, free: 0.6016 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004933/0.0128, allocations: 0.766 MB / 0.6302 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005117/0.01332, allocations: 0.5818 MB / 0.6308 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.01332, allocations: 0 / 0.6308 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009445/0.01426, allocations: 1.038 MB / 0.6318 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.239e-05/0.01434, allocations: 186.2 kB / 0.632 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.01434, allocations: 4 kB / 0.632 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.01436, allocations: 8 kB / 0.632 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.01447, allocations: 51.84 kB / 0.632 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.01447, allocations: 7.938 kB / 0.632 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004183/0.01489, allocations: 183.6 kB / 0.6322 GB, free: 13.44 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.813e-05/0.01494, allocations: 40.16 kB / 0.6323 GB, free: 13.4 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,pul.booPul.y,$PRE.pul.booPul.y,booPul1.y,$PRE.booPul1.y,$whenCondition15,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,pul1.booPul.y,$PRE.pul1.booPul.y,booPul2.y,$PRE.booPul2.y,$whenCondition10,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,pul2.booPul.y,$PRE.pul2.booPul.y,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 6 * 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.000128/0.01507, allocations: 176.8 kB / 0.6324 GB, free: 13.22 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.0151, allocations: 35.75 kB / 0.6325 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.147e-05/0.01514, allocations: 37.73 kB / 0.6325 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.01514, allocations: 4 kB / 0.6325 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.01515, allocations: 3.938 kB / 0.6325 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.01515, allocations: 4 kB / 0.6325 GB, free: 13.13 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007644/0.01592, allocations: 0.8622 MB / 0.6333 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01592, allocations: 0 / 0.6333 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.01603, allocations: 47.89 kB / 0.6334 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.01603, allocations: 3.938 kB / 0.6334 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.01604, allocations: 11.94 kB / 0.6334 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.01605, allocations: 8.062 kB / 0.6334 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01605, allocations: 7.984 kB / 0.6334 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007237/0.01677, allocations: 0.7173 MB / 0.6341 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.887e-05/0.0168, allocations: 31.69 kB / 0.6342 GB, free: 11.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.01683, allocations: 8 kB / 0.6342 GB, free: 11.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.01696, allocations: 24.02 kB / 0.6342 GB, free: 11.34 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/0.017, allocations: 27.95 kB / 0.6342 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.01702, allocations: 19.98 kB / 0.6342 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001056/0.01713, allocations: 179.1 kB / 0.6344 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.01713, allocations: 0 / 0.6344 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003381/0.01747, allocations: 115.9 kB / 0.6345 GB, free: 11.01 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (ramUpDow1.y_internal,ramUpDow.y_internal,ramUp.y_internal,ramUp1.y_internal) * Number of discrete variables: 21 ($whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul2.booPul.y,booPul5.y,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,booPul2.y,pul1.booPul.y,$whenCondition15,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,booPul1.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0008825/0.01835, allocations: 1.269 MB / 0.6357 GB, free: 9.715 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0007884/0.01914, allocations: 0.9437 MB / 0.6367 GB, free: 8.66 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01914, allocations: 0 / 0.6367 GB, free: 8.66 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.01932, allocations: 147.2 kB / 0.6368 GB, free: 8.52 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004496/0.01977, allocations: 109.6 kB / 0.6369 GB, free: 8.41 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0041/0.02387, allocations: 4.987 MB / 0.6418 GB, free: 3.066 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.02397, allocations: 172.9 kB / 0.6419 GB, free: 2.871 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001263/0.0241, allocations: 51.28 kB / 0.642 GB, free: 2.824 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.0242, allocations: 124.4 kB / 0.6421 GB, free: 2.703 MB / 0.5573 GB Notification: Performance of SimCode: time 6.41e-07/0.02421, allocations: 0 / 0.6421 GB, free: 2.703 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2552/0.2794, allocations: 11.49 MB / 0.6533 GB, free: 37.07 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.027/7.307, allocations: 7.422 kB / 0.6533 GB, free: 37.07 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Ramp_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Ramp.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.893874859437346] Failed to read output from testmodel.py, exit status != 0: 7.391401122324169 7.40115886 7.392610148 Calling exit ...