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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 103.1 kB / 17.07 MB, free: 6.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 191.8 kB / 20.02 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.59/1.59, allocations: 222.9 MB / 245.7 MB, free: 4.242 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.111/1.111, allocations: 147.6 MB / 445.6 MB, free: 8.379 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.2955/0.2955, allocations: 58.02 kB / 0.6109 GB, free: 37.84 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.4547, allocations: 83.16 MB / 0.6921 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer): time 0.00215/0.4568, allocations: 0.711 MB / 0.6928 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002036/0.4589, allocations: 1.253 MB / 0.694 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.527e-05/0.459, allocations: 0 / 0.694 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.764e-05/0.4591, allocations: 13.19 kB / 0.694 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.947e-05/0.4592, allocations: 13.17 kB / 0.6941 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008405/0.46, allocations: 256.1 kB / 0.6943 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003673/0.4604, allocations: 262.8 kB / 0.6945 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.4605, allocations: 28.23 kB / 0.6946 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.4607, allocations: 101.8 kB / 0.6947 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.4609, allocations: 99.98 kB / 0.6948 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.887e-05/0.4609, allocations: 23.81 kB / 0.6948 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.461, allocations: 40.61 kB / 0.6948 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.837e-05/0.4611, allocations: 31.8 kB / 0.6949 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.4613, allocations: 92.73 kB / 0.6949 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003355/0.4616, allocations: 216.5 kB / 0.6952 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.4616, allocations: 3.984 kB / 0.6952 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4616, allocations: 4 kB / 0.6952 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.4616, allocations: 1.375 kB / 0.6952 GB, free: 11.13 MB / 0.5137 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.0008379/0.4625, allocations: 0.4898 MB / 0.6956 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.4625, allocations: 9.625 kB / 0.6956 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.483e-05/0.4626, allocations: 42.86 kB / 0.6957 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.666e-05/0.4627, allocations: 15.89 kB / 0.6957 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005962/0.4633, allocations: 249.3 kB / 0.6959 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.4633, allocations: 16.61 kB / 0.696 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.4634, allocations: 16.88 kB / 0.696 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.4636, allocations: 136.2 kB / 0.6961 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.4636, allocations: 0 / 0.6961 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.4636, allocations: 10.67 kB / 0.6961 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.4637, allocations: 1.375 kB / 0.6961 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.4638, allocations: 63.58 kB / 0.6962 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008692/0.4647, allocations: 0.5234 MB / 0.6967 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003137/0.465, allocations: 159.2 kB / 0.6968 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.4651, allocations: 65.19 kB / 0.6969 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.4651, allocations: 5.312 kB / 0.6969 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004169/0.4656, allocations: 208 kB / 0.6971 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=22): time 1.693e-06/0.4656, allocations: 0 / 0.6971 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22): time 0.0006824/0.4663, allocations: 312.7 kB / 0.6974 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.886e-05/0.4663, allocations: 94.25 kB / 0.6975 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.4665, allocations: 129.1 kB / 0.6976 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.912e-05/0.4666, allocations: 44.81 kB / 0.6977 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.41e-05/0.4667, allocations: 94.42 kB / 0.6978 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.464e-05/0.4667, allocations: 59.89 kB / 0.6978 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.4669, allocations: 75.2 kB / 0.6979 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001985/0.4671, allocations: 321.8 kB / 0.6982 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.4673, allocations: 85.98 kB / 0.6983 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.4676, allocations: 154.9 kB / 0.6984 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003816/0.468, allocations: 250.3 kB / 0.6987 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.468, allocations: 0 / 0.6987 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006433/0.4686, allocations: 356.1 kB / 0.699 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.754e-05/0.4687, allocations: 67.39 kB / 0.6991 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.4687, allocations: 4 kB / 0.6991 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.4687, allocations: 0 / 0.6991 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.4689, allocations: 24.09 kB / 0.6991 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.4689, allocations: 7.984 kB / 0.6991 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003873/0.4693, allocations: 67.78 kB / 0.6992 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.36e-05/0.4693, allocations: 23.98 kB / 0.6992 GB, free: 7.438 MB / 0.5137 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.0001812/0.4695, allocations: 145.6 kB / 0.6993 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.4696, allocations: 15.94 kB / 0.6993 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.262e-05/0.4696, allocations: 16.48 kB / 0.6993 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.4696, allocations: 7.938 kB / 0.6994 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/0.4696, allocations: 0 / 0.6994 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.4697, allocations: 3.938 kB / 0.6994 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007789/0.4704, allocations: 0.6109 MB / 0.7 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.4705, allocations: 0 / 0.7 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.414e-05/0.4705, allocations: 8 kB / 0.7 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.4705, allocations: 8.031 kB / 0.7 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.4706, allocations: 15.92 kB / 0.7 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.4706, allocations: 0 / 0.7 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4706, allocations: 3.938 kB / 0.7 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000525/0.4711, allocations: 414.6 kB / 0.7004 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-05/0.4712, allocations: 92.95 kB / 0.7005 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/0.4712, allocations: 15.92 kB / 0.7005 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.4714, allocations: 15.98 kB / 0.7005 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.631e-05/0.4714, allocations: 23.97 kB / 0.7005 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.4715, allocations: 15.98 kB / 0.7005 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.179e-05/0.4716, allocations: 95.27 kB / 0.7006 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4716, allocations: 0 / 0.7006 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003676/0.4719, allocations: 52 kB / 0.7007 GB, free: 5.793 MB / 0.5137 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.0009435/0.4729, allocations: 0.97 MB / 0.7016 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005826/0.4735, allocations: 354.5 kB / 0.702 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4735, allocations: 0 / 0.702 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.4737, allocations: 119.8 kB / 0.7021 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.4741, allocations: 26.14 kB / 0.7021 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003035/0.4771, allocations: 2.278 MB / 0.7043 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.4775, allocations: 0.7048 MB / 0.705 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.187e-05/0.4776, allocations: 21.48 kB / 0.705 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.53e-05/0.4777, allocations: 43.36 kB / 0.7051 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of SimCode: time 2.81e-07/0.4777, allocations: 0 / 0.7051 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02774/0.5054, allocations: 4.078 MB / 0.7091 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.979/8.485, allocations: 11.39 kB / 0.7091 GB, free: 13.09 MB / 0.5294 GB " [Timeout remaining time 651] (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: 12.29930039611645] Failed to read output from testmodel.py, exit status != 0: 8.552340435096994 8.567037053 8.102571188 Calling exit ...