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.0007984/0.0007984, allocations: 72.5 kB / 19.92 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.0009302/0.0009302, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8798/0.8798, 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.5608/0.5608, allocations: 114 MB / 373.9 MB, free: 8.711 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.485e-06/2.485e-06, allocations: 3.938 kB / 0.5542 GB, free: 1.672 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.38e-05/1.628e-05, allocations: 4.797 kB / 0.5542 GB, free: 1.668 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001642/0.001658, allocations: 0.7016 MB / 0.5549 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.003294, allocations: 1.275 MB / 0.5561 GB, free: 15.68 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.313e-05/0.003357, allocations: 4 kB / 0.5561 GB, free: 15.68 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.646e-05/0.003394, allocations: 7.875 kB / 0.5561 GB, free: 15.67 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.9e-05/0.003483, allocations: 19.78 kB / 0.5562 GB, free: 15.65 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006906/0.004173, allocations: 253.3 kB / 0.5564 GB, free: 15.41 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002929/0.004466, allocations: 263.4 kB / 0.5567 GB, free: 15.15 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.004584, allocations: 16.16 kB / 0.5567 GB, free: 15.13 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.004771, allocations: 143.8 kB / 0.5568 GB, free: 14.99 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.004935, allocations: 71.86 kB / 0.5569 GB, free: 14.92 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.897e-05/0.004974, allocations: 24 kB / 0.5569 GB, free: 14.9 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.187e-05/0.005046, allocations: 39.92 kB / 0.5569 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.635e-05/0.005083, allocations: 35.95 kB / 0.557 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.005186, allocations: 71.88 kB / 0.557 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.005501, allocations: 263.4 kB / 0.5573 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.005503, allocations: 0 / 0.5573 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.005504, allocations: 0 / 0.5573 GB, free: 14.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.005508, allocations: 0 / 0.5573 GB, free: 14.5 MB / 490.7 MB 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.0006998/0.006208, allocations: 433.2 kB / 0.5577 GB, free: 14.03 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.006254, allocations: 12.62 kB / 0.5577 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.646e-05/0.006301, allocations: 42.73 kB / 0.5578 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.846e-05/0.006369, allocations: 20.84 kB / 0.5578 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004882/0.006857, allocations: 193.8 kB / 0.558 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.006888, allocations: 16.3 kB / 0.558 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.42e-05/0.006932, allocations: 24.36 kB / 0.558 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.007167, allocations: 123.9 kB / 0.5581 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.007177, allocations: 4.188 kB / 0.5581 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.007195, allocations: 4.359 kB / 0.5581 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.007201, allocations: 3.938 kB / 0.5581 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.007334, allocations: 71.83 kB / 0.5582 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006686/0.008003, allocations: 448 kB / 0.5586 GB, free: 12.99 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.00826, allocations: 141.1 kB / 0.5588 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.402e-05/0.008354, allocations: 49.7 kB / 0.5588 GB, free: 12.78 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.008369, allocations: 7.984 kB / 0.5588 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004317/0.0088, allocations: 206.3 kB / 0.559 GB, free: 12.55 MB / 490.7 MB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/0.008802, allocations: 0 / 0.559 GB, free: 12.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005584/0.00936, allocations: 320.5 kB / 0.5593 GB, free: 12.24 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.009416, allocations: 93.23 kB / 0.5594 GB, free: 12.13 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.009518, allocations: 134 kB / 0.5595 GB, free: 11.99 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.379e-05/0.009562, allocations: 41.69 kB / 0.5596 GB, free: 11.94 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.985e-05/0.009632, allocations: 92.64 kB / 0.5597 GB, free: 11.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.564e-05/0.009688, allocations: 59.58 kB / 0.5597 GB, free: 11.79 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-05/0.009773, allocations: 77.67 kB / 0.5598 GB, free: 11.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.504e-05/0.009868, allocations: 326.8 kB / 0.5601 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.01009, allocations: 147.6 kB / 0.5602 GB, free: 11.21 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.01034, allocations: 207.6 kB / 0.5604 GB, free: 10.97 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003/0.01064, allocations: 254.6 kB / 0.5607 GB, free: 10.69 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.01064, allocations: 3.938 kB / 0.5607 GB, free: 10.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005886/0.01123, allocations: 412.5 kB / 0.5611 GB, free: 10.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.041e-05/0.01128, allocations: 71.33 kB / 0.5612 GB, free: 10.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.01129, allocations: 7.938 kB / 0.5612 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.01131, allocations: 7.984 kB / 0.5612 GB, free: 10.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.041e-05/0.01139, allocations: 15.94 kB / 0.5612 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.0114, allocations: 4.219 kB / 0.5612 GB, free: 10.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/0.01168, allocations: 79.7 kB / 0.5613 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.01171, allocations: 16 kB / 0.5613 GB, free: 10.04 MB / 490.7 MB 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.0001213/0.01183, allocations: 139.8 kB / 0.5614 GB, free: 9.895 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.01186, allocations: 19.94 kB / 0.5614 GB, free: 9.875 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.388e-05/0.01189, allocations: 12.44 kB / 0.5614 GB, free: 9.867 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.0119, allocations: 4 kB / 0.5614 GB, free: 9.863 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.0119, allocations: 0 / 0.5614 GB, free: 9.863 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.01191, allocations: 0 / 0.5614 GB, free: 9.863 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005583/0.01247, allocations: 0.5826 MB / 0.562 GB, free: 9.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01247, allocations: 0 / 0.562 GB, free: 9.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.557e-05/0.01251, allocations: 11.98 kB / 0.562 GB, free: 9.219 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.01252, allocations: 0 / 0.562 GB, free: 9.219 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.01254, allocations: 12 kB / 0.562 GB, free: 9.207 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.01254, allocations: 3.938 kB / 0.562 GB, free: 9.203 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01254, allocations: 0 / 0.562 GB, free: 9.203 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/0.01294, allocations: 435.3 kB / 0.5625 GB, free: 8.762 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.672e-05/0.01295, allocations: 15.84 kB / 0.5625 GB, free: 8.746 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.606e-05/0.01299, allocations: 11.98 kB / 0.5625 GB, free: 8.734 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.01313, allocations: 11.98 kB / 0.5625 GB, free: 8.723 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.248e-05/0.01319, allocations: 23.89 kB / 0.5625 GB, free: 8.699 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.01322, allocations: 15.98 kB / 0.5625 GB, free: 8.684 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.269e-05/0.01327, allocations: 99.27 kB / 0.5626 GB, free: 8.586 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01327, allocations: 0 / 0.5626 GB, free: 8.586 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004196/0.01369, allocations: 52 kB / 0.5627 GB, free: 8.535 MB / 490.7 MB 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.0006919/0.01438, allocations: 0.9739 MB / 0.5636 GB, free: 7.531 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00036/0.01474, allocations: 390.8 kB / 0.564 GB, free: 7.113 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01474, allocations: 0 / 0.564 GB, free: 7.113 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.555e-05/0.01484, allocations: 83.81 kB / 0.5641 GB, free: 7.035 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.0151, allocations: 33.45 kB / 0.5641 GB, free: 7.004 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.01701, allocations: 2.53 MB / 0.5666 GB, free: 4.281 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.994e-05/0.01707, allocations: 92.91 kB / 0.5667 GB, free: 4.172 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.298e-05/0.01711, allocations: 21.48 kB / 0.5667 GB, free: 4.148 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.04e-05/0.01716, allocations: 36.48 kB / 0.5667 GB, free: 4.113 MB / 490.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01716, allocations: 4 kB / 0.5667 GB, free: 4.109 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01854/0.0357, allocations: 5.039 MB / 0.5716 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.003/7.038, allocations: 7.531 kB / 0.5717 GB, free: 15.27 MB / 0.4948 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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.4373002294451] Failed to read output from testmodel.py, exit status != 0: 7.1223674938082695 7.132161943 7.124962509 Calling exit ...