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.0007564/0.0007564, 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.0008766/0.0008766, allocations: 169.9 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.9266/0.9266, allocations: 177.1 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.7355/0.7355, allocations: 154.6 MB / 413.7 MB, free: 0.8359 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 4.398e-06/4.398e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.777e-05/3.217e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.001902/0.001934, allocations: 1.188 MB / 0.6193 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001789/0.003723, allocations: 1.723 MB / 0.621 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.003827, allocations: 0 / 0.621 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.941e-05/0.003877, allocations: 23.67 kB / 0.621 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001868/0.004063, allocations: 103.3 kB / 0.6211 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009533/0.005017, allocations: 0.6554 MB / 0.6217 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005505/0.005567, allocations: 0.7601 MB / 0.6225 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.005728, allocations: 56.89 kB / 0.6225 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003403/0.006068, allocations: 419.4 kB / 0.6229 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002503/0.006318, allocations: 227.4 kB / 0.6231 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 7.63e-05/0.006395, allocations: 72 kB / 0.6232 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.006506, allocations: 87.98 kB / 0.6233 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.606e-05/0.006562, allocations: 67.75 kB / 0.6234 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.006724, allocations: 223.6 kB / 0.6236 GB, free: 8.082 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005803/0.007304, allocations: 0.7988 MB / 0.6243 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.007308, allocations: 3.984 kB / 0.6243 GB, free: 7.277 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.084e-06/0.00731, allocations: 4 kB / 0.6244 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.007318, allocations: 4 kB / 0.6244 GB, free: 7.27 MB / 0.5886 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.0009604/0.008278, allocations: 0.8536 MB / 0.6252 GB, free: 6.332 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.008313, allocations: 9.469 kB / 0.6252 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.576e-05/0.008348, allocations: 50.73 kB / 0.6252 GB, free: 6.266 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.368e-05/0.008432, allocations: 52.67 kB / 0.6253 GB, free: 6.215 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007128/0.009145, allocations: 396.2 kB / 0.6257 GB, free: 5.805 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.009173, allocations: 32.38 kB / 0.6257 GB, free: 5.773 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.472e-05/0.009238, allocations: 44.38 kB / 0.6257 GB, free: 5.73 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.009523, allocations: 212.7 kB / 0.626 GB, free: 5.508 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.009533, allocations: 4.125 kB / 0.626 GB, free: 5.504 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.009549, allocations: 8.375 kB / 0.626 GB, free: 5.496 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.009556, allocations: 7.938 kB / 0.626 GB, free: 5.488 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.00974, allocations: 115.9 kB / 0.6261 GB, free: 5.375 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007934/0.01053, allocations: 0.8275 MB / 0.6269 GB, free: 4.496 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003719/0.0109, allocations: 220.2 kB / 0.6271 GB, free: 4.254 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.01104, allocations: 102.5 kB / 0.6272 GB, free: 4.145 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.01106, allocations: 7.984 kB / 0.6272 GB, free: 4.137 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003402/0.0114, allocations: 291.8 kB / 0.6275 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=37): time 1.182e-06/0.0114, allocations: 0 / 0.6275 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of matching and sorting (n=37): time 0.0007627/0.01216, allocations: 459.6 kB / 0.6279 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.01222, allocations: 118.7 kB / 0.628 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.01239, allocations: 260.2 kB / 0.6283 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.345e-05/0.01244, allocations: 53.69 kB / 0.6283 GB, free: 2.922 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.983e-05/0.01254, allocations: 157 kB / 0.6285 GB, free: 2.766 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.657e-05/0.0126, allocations: 107.2 kB / 0.6286 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.01274, allocations: 154 kB / 0.6287 GB, free: 2.504 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.402e-05/0.01283, allocations: 342.8 kB / 0.6291 GB, free: 2.16 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003841/0.01321, allocations: 411 kB / 0.6295 GB, free: 1.723 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004935/0.01371, allocations: 0.7738 MB / 0.6302 GB, free: 0.7969 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005178/0.01422, allocations: 0.5706 MB / 0.6308 GB, free: 152 kB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.01423, allocations: 4 kB / 0.6308 GB, free: 148 kB / 0.5886 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009613/0.01519, allocations: 1.036 MB / 0.6318 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.438e-05/0.01526, allocations: 186.2 kB / 0.632 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.01527, allocations: 4 kB / 0.632 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.01528, allocations: 4.375 kB / 0.632 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.01539, allocations: 55.89 kB / 0.632 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.0154, allocations: 11.88 kB / 0.632 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004341/0.01584, allocations: 179.5 kB / 0.6322 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.037e-05/0.01589, allocations: 47.95 kB / 0.6322 GB, free: 14.51 MB / 0.6042 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.0001317/0.01602, allocations: 168.8 kB / 0.6324 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.01605, allocations: 35.81 kB / 0.6324 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.517e-05/0.0161, allocations: 33.8 kB / 0.6325 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.0161, allocations: 4 kB / 0.6325 GB, free: 14.26 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.01611, allocations: 7.938 kB / 0.6325 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.01611, allocations: 3.984 kB / 0.6325 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007636/0.01687, allocations: 0.8615 MB / 0.6333 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.01688, allocations: 4 kB / 0.6333 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.01698, allocations: 39.91 kB / 0.6334 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.01699, allocations: 7.938 kB / 0.6334 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.01701, allocations: 15.98 kB / 0.6334 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01701, allocations: 192 / 0.6334 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.01701, allocations: 4 kB / 0.6334 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006548/0.01766, allocations: 0.7228 MB / 0.6341 GB, free: 12.53 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.727e-05/0.01769, allocations: 35.69 kB / 0.6341 GB, free: 12.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.01772, allocations: 12.03 kB / 0.6342 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.01784, allocations: 11.98 kB / 0.6342 GB, free: 12.47 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.01788, allocations: 31.95 kB / 0.6342 GB, free: 12.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.0179, allocations: 19.98 kB / 0.6342 GB, free: 12.42 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001027/0.01801, allocations: 183.1 kB / 0.6344 GB, free: 12.24 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.01801, allocations: 4 kB / 0.6344 GB, free: 12.24 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003291/0.01833, allocations: 112 kB / 0.6345 GB, free: 12.13 MB / 0.6042 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.0008854/0.01922, allocations: 1.272 MB / 0.6357 GB, free: 10.83 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008045/0.02002, allocations: 0.9434 MB / 0.6367 GB, free: 9.773 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.02003, allocations: 0 / 0.6367 GB, free: 9.773 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.0202, allocations: 144.5 kB / 0.6368 GB, free: 9.633 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00046/0.02066, allocations: 113.4 kB / 0.6369 GB, free: 9.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004114/0.02478, allocations: 5.007 MB / 0.6418 GB, free: 4.164 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.02488, allocations: 161 kB / 0.642 GB, free: 3.98 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001315/0.02501, allocations: 51.27 kB / 0.642 GB, free: 3.926 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.02512, allocations: 120.5 kB / 0.6421 GB, free: 3.809 MB / 0.6042 GB Notification: Performance of SimCode: time 4.51e-07/0.02512, allocations: 0 / 0.6421 GB, free: 3.809 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02356/0.04868, allocations: 11.49 MB / 0.6533 GB, free: 8.652 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.011/7.06, allocations: 18.64 kB / 0.6533 GB, free: 8.641 MB / 0.6198 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.874206127598882] Failed to read output from testmodel.py, exit status != 0: 7.149064991623163 7.163340609 7.15329888 Calling exit ...