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.0008419/0.0008419, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001004/0.001004, allocations: 213.8 kB / 22.26 MB, free: 3.703 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.937/0.937, allocations: 230.6 MB / 256 MB, free: 9.832 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.7974/0.7974, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.0009771/0.0009771, allocations: 63.84 kB / 0.7183 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5394/0.5404, allocations: 102 MB / 0.8179 GB, free: 1.277 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.001797/0.5422, allocations: 1.304 MB / 0.8192 GB, free: 400 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001688/0.5439, allocations: 1.734 MB / 0.8209 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.815e-05/0.544, allocations: 2.469 kB / 0.8209 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.45e-05/0.544, allocations: 26.2 kB / 0.8209 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000181/0.5442, allocations: 97.31 kB / 0.821 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.5453, allocations: 0.6451 MB / 0.8216 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006687/0.5459, allocations: 0.7522 MB / 0.8224 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.5461, allocations: 67.09 kB / 0.8224 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003041/0.5464, allocations: 306.8 kB / 0.8227 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003552/0.5468, allocations: 281.3 kB / 0.823 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.5469, allocations: 71.16 kB / 0.823 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.547, allocations: 91.66 kB / 0.8231 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.569e-05/0.5471, allocations: 66.52 kB / 0.8232 GB, free: 14 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002465/0.5473, allocations: 263.8 kB / 0.8235 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008643/0.5482, allocations: 0.6954 MB / 0.8241 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.5482, allocations: 0 / 0.8241 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.304e-06/0.5482, allocations: 0 / 0.8241 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.5482, allocations: 3.938 kB / 0.8241 GB, free: 13.6 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.00122/0.5494, allocations: 0.8699 MB / 0.825 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.5495, allocations: 9.406 kB / 0.825 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.99e-05/0.5495, allocations: 53.06 kB / 0.825 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.5496, allocations: 53.75 kB / 0.8251 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009168/0.5506, allocations: 390.6 kB / 0.8255 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.791e-05/0.5506, allocations: 29.8 kB / 0.8255 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.627e-05/0.5507, allocations: 49.28 kB / 0.8255 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003681/0.5511, allocations: 214.9 kB / 0.8257 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.5511, allocations: 5 kB / 0.8258 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.5511, allocations: 8.125 kB / 0.8258 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.5511, allocations: 4 kB / 0.8258 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002194/0.5513, allocations: 125.5 kB / 0.8259 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.5524, allocations: 0.918 MB / 0.8268 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004915/0.5529, allocations: 226.9 kB / 0.827 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.5531, allocations: 104.9 kB / 0.8271 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.5531, allocations: 1.469 kB / 0.8271 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005211/0.5536, allocations: 284 kB / 0.8274 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=37): time 2.134e-06/0.5536, allocations: 0 / 0.8274 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37): time 0.0009162/0.5545, allocations: 457 kB / 0.8278 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/0.5546, allocations: 110 kB / 0.8279 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.5549, allocations: 265.6 kB / 0.8282 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.424e-05/0.5549, allocations: 52.77 kB / 0.8282 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.555, allocations: 165.6 kB / 0.8284 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.341e-05/0.5551, allocations: 100.7 kB / 0.8285 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.5553, allocations: 153.4 kB / 0.8286 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0004056/0.5557, allocations: 345.1 kB / 0.8289 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003982/0.5561, allocations: 221.5 kB / 0.8292 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004592/0.5566, allocations: 393.2 kB / 0.8295 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006182/0.5572, allocations: 0.5713 MB / 0.8301 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.5572, allocations: 3.938 kB / 0.8301 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001417/0.5586, allocations: 0.8519 MB / 0.8309 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001392/0.5588, allocations: 183.2 kB / 0.8311 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.5588, allocations: 11.38 kB / 0.8311 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-05/0.5588, allocations: 6.75 kB / 0.8311 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.559, allocations: 53.14 kB / 0.8312 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.559, allocations: 10.45 kB / 0.8312 GB, free: 9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006185/0.5596, allocations: 184.6 kB / 0.8314 GB, free: 8.965 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.056e-05/0.5597, allocations: 47.98 kB / 0.8314 GB, free: 8.957 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.0002282/0.5599, allocations: 173.2 kB / 0.8316 GB, free: 8.812 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.951e-05/0.56, allocations: 31.81 kB / 0.8316 GB, free: 8.797 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.536e-05/0.56, allocations: 35.58 kB / 0.8316 GB, free: 8.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.56, allocations: 8.531 kB / 0.8316 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.56, allocations: 1.578 kB / 0.8316 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.56, allocations: 3.062 kB / 0.8316 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.5611, allocations: 0.8908 MB / 0.8325 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.5611, allocations: 5.094 kB / 0.8325 GB, free: 8.172 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.5613, allocations: 42.11 kB / 0.8326 GB, free: 8.168 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.5613, allocations: 2.781 kB / 0.8326 GB, free: 8.168 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.5613, allocations: 10.78 kB / 0.8326 GB, free: 8.164 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.5613, allocations: 2.797 kB / 0.8326 GB, free: 8.164 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.5613, allocations: 1.312 kB / 0.8326 GB, free: 8.164 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008258/0.5622, allocations: 0.729 MB / 0.8333 GB, free: 7.715 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.986e-05/0.5622, allocations: 29.67 kB / 0.8333 GB, free: 7.695 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.5622, allocations: 9.75 kB / 0.8333 GB, free: 7.691 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.5624, allocations: 19.17 kB / 0.8333 GB, free: 7.684 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.319e-05/0.5624, allocations: 31.05 kB / 0.8334 GB, free: 7.676 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.5624, allocations: 18.97 kB / 0.8334 GB, free: 7.672 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001456/0.5626, allocations: 180.5 kB / 0.8336 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5626, allocations: 0 / 0.8336 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004443/0.563, allocations: 118.3 kB / 0.8337 GB, free: 7.543 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.001227/0.5643, allocations: 1.266 MB / 0.8349 GB, free: 6.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00105/0.5653, allocations: 0.7476 MB / 0.8356 GB, free: 6.062 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.5653, allocations: 1.969 kB / 0.8356 GB, free: 6.062 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000248/0.5656, allocations: 144 kB / 0.8358 GB, free: 6.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005628/0.5661, allocations: 115.6 kB / 0.8359 GB, free: 5.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005212/0.5713, allocations: 4.284 MB / 0.8401 GB, free: 3.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005101/0.5718, allocations: 0.7719 MB / 0.8408 GB, free: 2.527 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002105/0.5721, allocations: 50.59 kB / 0.8409 GB, free: 2.512 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.5722, allocations: 116.8 kB / 0.841 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of SimCode: time 8.71e-07/0.5722, allocations: 0 / 0.841 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02814/0.6003, allocations: 10.24 MB / 0.851 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.274/7.874, allocations: 10.16 kB / 0.851 GB, free: 13.57 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.771996448049322] Failed to read output from testmodel.py, exit status != 0: 7.954468094976619 7.965921738 7.415667235 Calling exit ...