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.0008846/0.0008846, allocations: 101.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.001067/0.001067, allocations: 209.2 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.9472/0.9472, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.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.754/0.754, allocations: 203.8 MB / 0.5042 GB, free: 10.44 MB / 410.7 MB " [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: 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.0008944/0.0008944, allocations: 65.73 kB / 0.7182 GB, free: 3.977 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4632/0.4641, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.001562/0.4656, allocations: 1.205 MB / 0.819 GB, free: 268 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001488/0.4671, allocations: 1.716 MB / 0.8207 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.852e-05/0.4672, allocations: 3.5 kB / 0.8207 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.607e-05/0.4673, allocations: 22.5 kB / 0.8207 GB, free: 15 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001705/0.4674, allocations: 94.33 kB / 0.8208 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009416/0.4684, allocations: 0.6503 MB / 0.8214 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000528/0.4689, allocations: 0.7467 MB / 0.8222 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.469, allocations: 61.06 kB / 0.8222 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.4693, allocations: 311 kB / 0.8225 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.4695, allocations: 247.7 kB / 0.8228 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.79e-05/0.4696, allocations: 71.75 kB / 0.8228 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.4697, allocations: 79.56 kB / 0.8229 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.13e-05/0.4698, allocations: 75.52 kB / 0.823 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001986/0.47, allocations: 233.8 kB / 0.8232 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005895/0.4706, allocations: 0.7015 MB / 0.8239 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.4706, allocations: 4 kB / 0.8239 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4706, allocations: 4.5 kB / 0.8239 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.4706, allocations: 1.344 kB / 0.8239 GB, free: 13.55 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.001048/0.4716, allocations: 0.8626 MB / 0.8247 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.4717, allocations: 10.31 kB / 0.8247 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.715e-05/0.4717, allocations: 48.98 kB / 0.8248 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.4718, allocations: 57.27 kB / 0.8248 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008494/0.4727, allocations: 386.9 kB / 0.8252 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.575e-05/0.4727, allocations: 29.25 kB / 0.8252 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.397e-05/0.4728, allocations: 54.91 kB / 0.8253 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003218/0.4731, allocations: 215.9 kB / 0.8255 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.4731, allocations: 0 / 0.8255 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.4731, allocations: 12.95 kB / 0.8255 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.4731, allocations: 4.719 kB / 0.8255 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002039/0.4733, allocations: 120.6 kB / 0.8256 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008685/0.4742, allocations: 0.8185 MB / 0.8264 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/0.4746, allocations: 224.3 kB / 0.8266 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.4748, allocations: 94.3 kB / 0.8267 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.4748, allocations: 4.656 kB / 0.8267 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004187/0.4752, allocations: 294.3 kB / 0.827 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=37): time 1.462e-06/0.4752, allocations: 0 / 0.827 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37): time 0.000729/0.4759, allocations: 460.2 kB / 0.8275 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.476, allocations: 114.2 kB / 0.8276 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.4762, allocations: 265 kB / 0.8278 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.904e-05/0.4763, allocations: 48.5 kB / 0.8279 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.4764, allocations: 162.9 kB / 0.828 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.31e-05/0.4764, allocations: 104 kB / 0.8281 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.4766, allocations: 153.3 kB / 0.8283 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.728e-05/0.4767, allocations: 341.3 kB / 0.8286 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004361/0.4771, allocations: 417 kB / 0.829 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005475/0.4777, allocations: 0.7599 MB / 0.8297 GB, free: 9.441 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005783/0.4782, allocations: 0.5768 MB / 0.8303 GB, free: 8.992 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.4783, allocations: 5.125 kB / 0.8303 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001354/0.4796, allocations: 1.033 MB / 0.8313 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.167e-05/0.4797, allocations: 190.6 kB / 0.8315 GB, free: 8.148 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.4797, allocations: 7.422 kB / 0.8315 GB, free: 8.145 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.4797, allocations: 5.562 kB / 0.8315 GB, free: 8.145 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.4799, allocations: 57.83 kB / 0.8316 GB, free: 8.133 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.4799, allocations: 6.328 kB / 0.8316 GB, free: 8.133 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004854/0.4804, allocations: 184.9 kB / 0.8317 GB, free: 8.098 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.325e-05/0.4804, allocations: 47.7 kB / 0.8318 GB, free: 8.09 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.0001457/0.4806, allocations: 176.9 kB / 0.832 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.4806, allocations: 33.03 kB / 0.832 GB, free: 7.926 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.919e-05/0.4807, allocations: 38.75 kB / 0.832 GB, free: 7.895 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.4807, allocations: 5.266 kB / 0.832 GB, free: 7.895 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.4807, allocations: 5.062 kB / 0.832 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.373e-06/0.4807, allocations: 7.141 kB / 0.832 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008506/0.4815, allocations: 0.8548 MB / 0.8329 GB, free: 7.309 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4815, allocations: 1.188 kB / 0.8329 GB, free: 7.309 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.4817, allocations: 46.02 kB / 0.8329 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.4817, allocations: 2.281 kB / 0.8329 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.4817, allocations: 11.56 kB / 0.8329 GB, free: 7.297 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.4817, allocations: 2.641 kB / 0.8329 GB, free: 7.297 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4817, allocations: 1.094 kB / 0.8329 GB, free: 7.297 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007784/0.4825, allocations: 0.7274 MB / 0.8336 GB, free: 6.852 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.438e-05/0.4825, allocations: 30.56 kB / 0.8337 GB, free: 6.832 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.4825, allocations: 8.984 kB / 0.8337 GB, free: 6.828 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.4827, allocations: 16.83 kB / 0.8337 GB, free: 6.824 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.442e-05/0.4827, allocations: 33.89 kB / 0.8337 GB, free: 6.812 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.4827, allocations: 19.53 kB / 0.8338 GB, free: 6.809 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001494/0.4829, allocations: 176.7 kB / 0.8339 GB, free: 6.703 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.4829, allocations: 1.062 kB / 0.8339 GB, free: 6.703 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004023/0.4833, allocations: 117 kB / 0.834 GB, free: 6.684 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.0009633/0.4843, allocations: 1.272 MB / 0.8353 GB, free: 5.707 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009008/0.4852, allocations: 0.9341 MB / 0.8362 GB, free: 4.996 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4852, allocations: 4.062 kB / 0.8362 GB, free: 4.992 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.4854, allocations: 137.9 kB / 0.8363 GB, free: 4.957 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005023/0.4859, allocations: 117.6 kB / 0.8364 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004491/0.4904, allocations: 5.035 MB / 0.8414 GB, free: 1.344 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.4905, allocations: 165.2 kB / 0.8415 GB, free: 1.258 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001462/0.4906, allocations: 50.83 kB / 0.8416 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.4908, allocations: 117.8 kB / 0.8417 GB, free: 1.168 MB / 0.6198 GB Notification: Performance of SimCode: time 5.91e-07/0.4908, allocations: 0 / 0.8417 GB, free: 1.168 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.024/0.5148, allocations: 11.42 MB / 0.8528 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.008/7.523, allocations: 16.66 kB / 0.8528 GB, free: 11.46 MB / 0.6355 GB " [Timeout remaining time 652] (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: 10.332456956617534] Failed to read output from testmodel.py, exit status != 0: 7.606479504145682 7.617813023 7.144477376 Calling exit ...