Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.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.001344/0.001344, allocations: 122 kB / 17.84 MB, free: 5.254 MB / 14.72 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.00185/0.00185, allocations: 199.8 kB / 20.79 MB, free: 2.316 MB / 14.72 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 1.522/1.522, allocations: 230.6 MB / 254.2 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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 1.016/1.016, allocations: 150 MB / 460.2 MB, free: 5.719 MB / 350.1 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.Discrete.Validation.UnitDelay,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_UnitDelay",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_UnitDelay",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001973/0.001973, allocations: 65.72 kB / 0.6368 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1586, allocations: 89.13 MB / 0.7238 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.002003/0.1606, allocations: 0.6598 MB / 0.7245 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001437/0.162, allocations: 1.103 MB / 0.7255 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.64e-05/0.162, allocations: 0 / 0.7255 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.901e-05/0.1621, allocations: 7.938 kB / 0.7256 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.95e-05/0.1621, allocations: 11.92 kB / 0.7256 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.1624, allocations: 39.84 kB / 0.7256 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.1625, allocations: 43.91 kB / 0.7256 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.301e-05/0.1626, allocations: 11.98 kB / 0.7257 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.784e-05/0.1627, allocations: 23.92 kB / 0.7257 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.948e-05/0.1627, allocations: 15.92 kB / 0.7257 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.1627, allocations: 4 kB / 0.7257 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.997e-05/0.1628, allocations: 27.92 kB / 0.7257 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/0.1628, allocations: 15.91 kB / 0.7257 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.026e-05/0.1629, allocations: 19.94 kB / 0.7258 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.163, allocations: 71.92 kB / 0.7258 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.163, allocations: 0 / 0.7258 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.183e-06/0.163, allocations: 0 / 0.7258 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.163, allocations: 0 / 0.7258 GB, free: 2.035 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005457/0.1636, allocations: 363.3 kB / 0.7262 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.1636, allocations: 12.02 kB / 0.7262 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.205e-05/0.1636, allocations: 192 / 0.7262 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.113e-05/0.1637, allocations: 34.75 kB / 0.7262 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.552e-05/0.1637, allocations: 8.938 kB / 0.7262 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.1639, allocations: 172.3 kB / 0.7264 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.1639, allocations: 4.375 kB / 0.7264 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.1639, allocations: 8.312 kB / 0.7264 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.1641, allocations: 69.95 kB / 0.7265 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.1641, allocations: 0 / 0.7265 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.1641, allocations: 0 / 0.7265 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1641, allocations: 0 / 0.7265 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.1643, allocations: 47.95 kB / 0.7265 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/0.1648, allocations: 276.8 kB / 0.7268 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.165, allocations: 54.48 kB / 0.7268 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.1651, allocations: 28.95 kB / 0.7269 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.1651, allocations: 12.06 kB / 0.7269 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002104/0.1653, allocations: 67.39 kB / 0.7269 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.1653, allocations: 0 / 0.7269 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0004155/0.1657, allocations: 121.5 kB / 0.7271 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.1658, allocations: 55.41 kB / 0.7271 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.485e-05/0.1659, allocations: 109.8 kB / 0.7272 GB, free: 420 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.1659, allocations: 33.64 kB / 0.7272 GB, free: 380 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.202e-05/0.1659, allocations: 84.12 kB / 0.7273 GB, free: 292 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.166, allocations: 19.84 kB / 0.7273 GB, free: 272 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.351e-05/0.166, allocations: 25.72 kB / 0.7274 GB, free: 240 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1662, allocations: 322.8 kB / 0.7277 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.1663, allocations: 32.22 kB / 0.7277 GB, free: 15.88 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.1664, allocations: 56.28 kB / 0.7278 GB, free: 15.81 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002284/0.1666, allocations: 88.19 kB / 0.7278 GB, free: 15.71 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1666, allocations: 0 / 0.7278 GB, free: 15.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002938/0.1669, allocations: 117.5 kB / 0.728 GB, free: 15.59 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1669, allocations: 5.594 kB / 0.728 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1669, allocations: 8.156 kB / 0.728 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.167, allocations: 3.938 kB / 0.728 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.1671, allocations: 19.92 kB / 0.728 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1671, allocations: 0 / 0.728 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.271e-05/0.1671, allocations: 11.98 kB / 0.728 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.1672, allocations: 4 kB / 0.728 GB, free: 15.54 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (unitDelay1.u_internal,$PRE.unitDelay1.u_internal,unitDelay1.y,$PRE.unitDelay1.y,unitDelay1.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 9.143e-05/0.1673, allocations: 121.8 kB / 0.7281 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.1673, allocations: 3.953 kB / 0.7281 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002915/0.1676, allocations: 106 kB / 0.7282 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1676, allocations: 0 / 0.7282 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1676, allocations: 0 / 0.7282 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1676, allocations: 0 / 0.7282 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004638/0.168, allocations: 346.5 kB / 0.7286 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.168, allocations: 0 / 0.7286 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.15e-05/0.1681, allocations: 23.92 kB / 0.7286 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.1681, allocations: 0 / 0.7286 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.1681, allocations: 0 / 0.7286 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1681, allocations: 0 / 0.7286 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.1681, allocations: 7.938 kB / 0.7286 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003121/0.1684, allocations: 187.6 kB / 0.7288 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.276e-05/0.1685, allocations: 85 kB / 0.7288 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.1685, allocations: 12 kB / 0.7289 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.694e-05/0.1686, allocations: 7.984 kB / 0.7289 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.1686, allocations: 7.938 kB / 0.7289 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.1686, allocations: 0 / 0.7289 GB, free: 14.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.312e-05/0.1687, allocations: 95.2 kB / 0.729 GB, free: 14.44 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1687, allocations: 0 / 0.729 GB, free: 14.44 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002476/0.1689, allocations: 8 kB / 0.729 GB, free: 14.43 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (unitDelay1.sampleTrigger,$whenCondition1,unitDelay1.y,unitDelay1.u_internal) * Number of discrete states: 1 (unitDelay1.u_internal) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006398/0.1696, allocations: 0.728 MB / 0.7297 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002657/0.1698, allocations: 59.89 kB / 0.7297 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1698, allocations: 320 / 0.7297 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.17, allocations: 39.95 kB / 0.7298 GB, free: 13.58 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.1702, allocations: 17.81 kB / 0.7298 GB, free: 13.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.1719, allocations: 1.418 MB / 0.7312 GB, free: 12.05 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.1722, allocations: 0.6845 MB / 0.7318 GB, free: 11.34 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.222e-05/0.1722, allocations: 8 kB / 0.7319 GB, free: 11.33 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/0.1723, allocations: 19.42 kB / 0.7319 GB, free: 11.31 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.1723, allocations: 0 / 0.7319 GB, free: 11.31 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01791/0.1902, allocations: 1.812 MB / 0.7336 GB, free: 9.625 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.52/8.71, allocations: 9.844 kB / 0.7337 GB, free: 9.617 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_UnitDelay_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_UnitDelay.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.567583547963295] Failed to read output from testmodel.py, exit status != 0: 8.838962990033906 8.867446472 8.699776144 Calling exit ...