Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.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.0008105/0.0008105, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007735/0.0007735, allocations: 169.9 kB / 23.21 MB, free: 1.359 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.871/0.871, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5744/0.5744, allocations: 114 MB / 373.9 MB, free: 8.723 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.5542 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.43e-05/1.632e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001644/0.001661, allocations: 0.7065 MB / 0.5549 GB, free: 2.062 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001692/0.003352, allocations: 1.268 MB / 0.5561 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.223e-05/0.003415, allocations: 4 kB / 0.5561 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.499e-05/0.00345, allocations: 3.938 kB / 0.5561 GB, free: 0.7734 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 8.937e-05/0.003539, allocations: 23.72 kB / 0.5562 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006584/0.004197, allocations: 245.4 kB / 0.5564 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002915/0.004489, allocations: 263.4 kB / 0.5566 GB, free: 264 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.004598, allocations: 16.16 kB / 0.5567 GB, free: 244 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.004771, allocations: 143.8 kB / 0.5568 GB, free: 100 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.004921, allocations: 75.84 kB / 0.5569 GB, free: 24 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 4.057e-05/0.004961, allocations: 24 kB / 0.5569 GB, free: 0 / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 9.368e-05/0.005055, allocations: 32.05 kB / 0.5569 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.506e-05/0.00509, allocations: 31.84 kB / 0.557 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.005191, allocations: 83.86 kB / 0.557 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002958/0.005486, allocations: 255.4 kB / 0.5573 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.005489, allocations: 3.938 kB / 0.5573 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.92e-07/0.00549, allocations: 0 / 0.5573 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.005494, allocations: 0 / 0.5573 GB, free: 15.6 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006535/0.006148, allocations: 437.2 kB / 0.5577 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.006191, allocations: 12.62 kB / 0.5577 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.963e-05/0.006231, allocations: 34.75 kB / 0.5577 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.583e-05/0.006297, allocations: 20.88 kB / 0.5578 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004883/0.006785, allocations: 200.1 kB / 0.558 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.006815, allocations: 16.36 kB / 0.558 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.04e-05/0.006855, allocations: 16.38 kB / 0.558 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.007087, allocations: 139.8 kB / 0.5581 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.007099, allocations: 8.172 kB / 0.5581 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.007117, allocations: 8.359 kB / 0.5581 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.007124, allocations: 7.938 kB / 0.5581 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.007254, allocations: 59.89 kB / 0.5582 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006972/0.007951, allocations: 444.1 kB / 0.5586 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/0.008199, allocations: 141 kB / 0.5588 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.465e-05/0.008284, allocations: 53.7 kB / 0.5588 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.008298, allocations: 7.984 kB / 0.5588 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003259/0.008624, allocations: 209.9 kB / 0.559 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=22): time 1.353e-06/0.008625, allocations: 0 / 0.559 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=22): time 0.000797/0.009422, allocations: 309.4 kB / 0.5593 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.009476, allocations: 85.09 kB / 0.5594 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.61e-05/0.009572, allocations: 144.8 kB / 0.5595 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.987e-05/0.009612, allocations: 41.69 kB / 0.5596 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.844e-05/0.00967, allocations: 92.64 kB / 0.5597 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.51e-05/0.009715, allocations: 55.58 kB / 0.5597 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.009826, allocations: 73.67 kB / 0.5598 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.898e-05/0.009925, allocations: 334.8 kB / 0.5601 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.01012, allocations: 143.6 kB / 0.5602 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.01034, allocations: 211.6 kB / 0.5604 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/0.01062, allocations: 251.3 kB / 0.5607 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.01062, allocations: 4 kB / 0.5607 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005484/0.01117, allocations: 423.9 kB / 0.5611 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.081e-05/0.01122, allocations: 63.39 kB / 0.5611 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.01123, allocations: 4 kB / 0.5612 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.01125, allocations: 7.938 kB / 0.5612 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.187e-05/0.01133, allocations: 19.94 kB / 0.5612 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.01134, allocations: 4 kB / 0.5612 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/0.0116, allocations: 75.97 kB / 0.5613 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.01163, allocations: 12 kB / 0.5613 GB, free: 11.15 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001174/0.01175, allocations: 143.8 kB / 0.5614 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.01177, allocations: 15.94 kB / 0.5614 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.963e-05/0.01181, allocations: 16.44 kB / 0.5614 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.01181, allocations: 4 kB / 0.5614 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.01182, allocations: 0 / 0.5614 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.01183, allocations: 4 kB / 0.5614 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005541/0.01238, allocations: 0.5835 MB / 0.562 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.01238, allocations: 0 / 0.562 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.325e-05/0.01241, allocations: 8 kB / 0.562 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.01242, allocations: 3.984 kB / 0.562 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.01243, allocations: 8 kB / 0.562 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.01244, allocations: 3.938 kB / 0.562 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.01244, allocations: 4 kB / 0.562 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.01282, allocations: 432.2 kB / 0.5625 GB, free: 9.871 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.603e-05/0.01283, allocations: 23.78 kB / 0.5625 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.01287, allocations: 15.98 kB / 0.5625 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.01299, allocations: 7.984 kB / 0.5625 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.369e-05/0.01305, allocations: 31.88 kB / 0.5625 GB, free: 9.793 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.01307, allocations: 15.98 kB / 0.5625 GB, free: 9.777 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.614e-05/0.01311, allocations: 95.27 kB / 0.5626 GB, free: 9.684 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.01311, allocations: 0 / 0.5626 GB, free: 9.684 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003862/0.0135, allocations: 56 kB / 0.5627 GB, free: 9.629 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0006579/0.01416, allocations: 0.9615 MB / 0.5636 GB, free: 8.641 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004705/0.01463, allocations: 389.8 kB / 0.564 GB, free: 8.223 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01463, allocations: 0 / 0.564 GB, free: 8.223 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.01476, allocations: 79.89 kB / 0.5641 GB, free: 8.145 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.01516, allocations: 27.97 kB / 0.5641 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002784/0.01794, allocations: 2.544 MB / 0.5666 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.443e-05/0.01802, allocations: 100.9 kB / 0.5667 GB, free: 5.266 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.116e-05/0.01809, allocations: 17.48 kB / 0.5667 GB, free: 5.25 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.134e-05/0.01816, allocations: 40.48 kB / 0.5667 GB, free: 5.211 MB / 0.5261 GB Notification: Performance of SimCode: time 6.51e-07/0.01816, allocations: 0 / 0.5667 GB, free: 5.211 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02106/0.03922, allocations: 5.037 MB / 0.5717 GB, free: 372 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.594/6.633, allocations: 7.891 kB / 0.5717 GB, free: 368 kB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Timer.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.171221921220422] Failed to read output from testmodel.py, exit status != 0: 6.712467632256448 6.726084249 6.717942111 Calling exit ...