Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008679/0.0008679, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001398/0.001398, allocations: 208.1 kB / 22.24 MB, free: 3.59 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.9895/0.9895, allocations: 230.6 MB / 256 MB, free: 9.594 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.7965/0.7965, allocations: 203.5 MB / 0.5039 GB, free: 10.68 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) [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.000872/0.000872, allocations: 64.98 kB / 0.7178 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5515/0.5524, allocations: 102 MB / 0.8174 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.001972/0.5544, allocations: 1.193 MB / 0.8186 GB, free: 488 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001662/0.556, allocations: 1.715 MB / 0.8203 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.338e-05/0.5561, allocations: 1.281 kB / 0.8203 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.959e-05/0.5561, allocations: 25.78 kB / 0.8203 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001805/0.5563, allocations: 95.34 kB / 0.8204 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.5573, allocations: 0.6469 MB / 0.821 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005834/0.5579, allocations: 0.7623 MB / 0.8218 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.5581, allocations: 57.23 kB / 0.8218 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002556/0.5583, allocations: 300.5 kB / 0.8221 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002819/0.5586, allocations: 245.6 kB / 0.8223 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.604e-05/0.5587, allocations: 71.66 kB / 0.8224 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.5588, allocations: 80.5 kB / 0.8225 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.744e-05/0.5589, allocations: 78.72 kB / 0.8226 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.5591, allocations: 243 kB / 0.8228 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007031/0.5598, allocations: 0.6931 MB / 0.8235 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.5598, allocations: 9.062 kB / 0.8235 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5598, allocations: 0 / 0.8235 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.594e-05/0.5598, allocations: 0 / 0.8235 GB, free: 13.77 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.001174/0.561, allocations: 0.8634 MB / 0.8243 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.561, allocations: 10.22 kB / 0.8243 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.051e-05/0.5611, allocations: 48.8 kB / 0.8244 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.5612, allocations: 52.94 kB / 0.8244 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008912/0.5621, allocations: 398.9 kB / 0.8248 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.424e-05/0.5622, allocations: 30.02 kB / 0.8248 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.711e-05/0.5622, allocations: 53.38 kB / 0.8249 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003577/0.5626, allocations: 216.2 kB / 0.8251 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.5626, allocations: 0 / 0.8251 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.5626, allocations: 8.797 kB / 0.8251 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.5626, allocations: 9.875 kB / 0.8251 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000228/0.5629, allocations: 121.5 kB / 0.8252 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009547/0.5638, allocations: 0.8228 MB / 0.826 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004241/0.5642, allocations: 218.7 kB / 0.8262 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.5644, allocations: 95.44 kB / 0.8263 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.5644, allocations: 7.594 kB / 0.8263 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004353/0.5649, allocations: 285.5 kB / 0.8266 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=37): time 1.403e-06/0.5649, allocations: 1.281 kB / 0.8266 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37): time 0.0008131/0.5657, allocations: 463 kB / 0.827 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/0.5657, allocations: 115.4 kB / 0.8272 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/0.566, allocations: 264.7 kB / 0.8274 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.833e-05/0.566, allocations: 48.27 kB / 0.8275 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.5662, allocations: 167.8 kB / 0.8276 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.461e-05/0.5662, allocations: 99.47 kB / 0.8277 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/0.5664, allocations: 152.9 kB / 0.8279 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.5666, allocations: 345.8 kB / 0.8282 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005052/0.5671, allocations: 416.6 kB / 0.8286 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006235/0.5677, allocations: 0.7602 MB / 0.8293 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006483/0.5683, allocations: 0.5792 MB / 0.8299 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5683, allocations: 0 / 0.8299 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001413/0.5698, allocations: 1.038 MB / 0.8309 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/0.5699, allocations: 184.3 kB / 0.8311 GB, free: 8.359 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.5699, allocations: 11.31 kB / 0.8311 GB, free: 8.352 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/0.5699, allocations: 5.844 kB / 0.8311 GB, free: 8.352 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.5701, allocations: 54.09 kB / 0.8312 GB, free: 8.344 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.5701, allocations: 6.203 kB / 0.8312 GB, free: 8.344 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005465/0.5706, allocations: 181.3 kB / 0.8313 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.544e-05/0.5707, allocations: 46.75 kB / 0.8314 GB, free: 8.305 MB / 0.6198 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.0001921/0.5709, allocations: 177.5 kB / 0.8315 GB, free: 8.156 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.5709, allocations: 32.28 kB / 0.8316 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.598e-05/0.571, allocations: 36.44 kB / 0.8316 GB, free: 8.113 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.571, allocations: 4.531 kB / 0.8316 GB, free: 8.113 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.571, allocations: 0.6562 kB / 0.8316 GB, free: 8.113 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.571, allocations: 2.938 kB / 0.8316 GB, free: 8.113 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009707/0.572, allocations: 0.8607 MB / 0.8325 GB, free: 7.527 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.572, allocations: 1.703 kB / 0.8325 GB, free: 7.527 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.5721, allocations: 46.67 kB / 0.8325 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.5721, allocations: 1.375 kB / 0.8325 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.5722, allocations: 12.45 kB / 0.8325 GB, free: 7.516 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.5722, allocations: 2.344 kB / 0.8325 GB, free: 7.516 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5722, allocations: 5.625 kB / 0.8325 GB, free: 7.512 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007685/0.5729, allocations: 0.7193 MB / 0.8332 GB, free: 7.074 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.094e-05/0.573, allocations: 35.31 kB / 0.8333 GB, free: 7.051 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.573, allocations: 8.984 kB / 0.8333 GB, free: 7.047 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.5731, allocations: 14.83 kB / 0.8333 GB, free: 7.043 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.237e-05/0.5732, allocations: 36.12 kB / 0.8333 GB, free: 7.031 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.5732, allocations: 23.34 kB / 0.8333 GB, free: 7.023 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001385/0.5733, allocations: 180.5 kB / 0.8335 GB, free: 6.914 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5733, allocations: 0 / 0.8335 GB, free: 6.914 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003908/0.5737, allocations: 117.6 kB / 0.8336 GB, free: 6.895 MB / 0.6198 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.001059/0.5748, allocations: 1.268 MB / 0.8349 GB, free: 5.922 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009162/0.5757, allocations: 0.9376 MB / 0.8358 GB, free: 5.207 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5757, allocations: 5.5 kB / 0.8358 GB, free: 5.203 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.5759, allocations: 143.5 kB / 0.8359 GB, free: 5.164 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004889/0.5764, allocations: 107.2 kB / 0.836 GB, free: 5.129 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004973/0.5814, allocations: 5.017 MB / 0.8409 GB, free: 1.578 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/0.5815, allocations: 165.3 kB / 0.8411 GB, free: 1.496 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000176/0.5817, allocations: 51.53 kB / 0.8411 GB, free: 1.484 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.5818, allocations: 112.4 kB / 0.8412 GB, free: 1.41 MB / 0.6198 GB Notification: Performance of SimCode: time 1.072e-06/0.5818, allocations: 4 kB / 0.8412 GB, free: 1.406 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02882/0.6107, allocations: 11.43 MB / 0.8524 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.35/7.961, allocations: 5.406 kB / 0.8524 GB, free: 11.77 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Ramp_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Ramp.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.95318727614358] Failed to read output from testmodel.py, exit status != 0: 8.042791372165084 8.05495083 7.493298009 Calling exit ...