Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.001637/0.001637, allocations: 97.17 kB / 19.74 MB, free: 1.871 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.002312/0.002312, allocations: 206.3 kB / 23.04 MB, free: 5.008 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.734 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 0.9777/0.9777, allocations: 150 MB / 463.2 MB, free: 10.22 MB / 366.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.TriggeredMax,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredMax",fmuType="me",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.002082/0.002082, allocations: 62.75 kB / 0.6413 GB, free: 9.883 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1671, allocations: 89.18 MB / 0.7283 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001838/0.1689, allocations: 0.699 MB / 0.729 GB, free: 76 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001605/0.1705, allocations: 1.206 MB / 0.7302 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.633e-05/0.1705, allocations: 0 / 0.7302 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.634e-05/0.1706, allocations: 3.938 kB / 0.7302 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.685e-05/0.1706, allocations: 15.86 kB / 0.7302 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000488/0.1711, allocations: 146.7 kB / 0.7304 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.1713, allocations: 119.6 kB / 0.7305 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.141e-05/0.1714, allocations: 11.98 kB / 0.7305 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.948e-05/0.1715, allocations: 47.91 kB / 0.7305 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.204e-05/0.1716, allocations: 39.88 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.1716, allocations: 12 kB / 0.7306 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.376e-05/0.1717, allocations: 19.98 kB / 0.7306 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.714e-05/0.1717, allocations: 19.92 kB / 0.7306 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.632e-05/0.1718, allocations: 35.91 kB / 0.7307 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.172, allocations: 115.9 kB / 0.7308 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.172, allocations: 4 kB / 0.7308 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.323e-06/0.172, allocations: 0 / 0.7308 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.172, allocations: 3.938 kB / 0.7308 GB, free: 14.27 MB / 0.5606 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.0005737/0.1725, allocations: 335.8 kB / 0.7311 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1726, allocations: 12.03 kB / 0.7311 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.667e-05/0.1726, allocations: 34.69 kB / 0.7311 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.292e-05/0.1727, allocations: 12.89 kB / 0.7312 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.1728, allocations: 110.5 kB / 0.7313 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.1728, allocations: 8.359 kB / 0.7313 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.1729, allocations: 8.375 kB / 0.7313 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.1731, allocations: 70.22 kB / 0.7313 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.108e-06/0.1731, allocations: 3.938 kB / 0.7313 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.1731, allocations: 0 / 0.7313 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1731, allocations: 0 / 0.7313 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.1733, allocations: 43.89 kB / 0.7314 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004487/0.1737, allocations: 279.8 kB / 0.7317 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.1739, allocations: 54.55 kB / 0.7317 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.442e-05/0.174, allocations: 24.94 kB / 0.7317 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.174, allocations: 0 / 0.7317 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/0.1742, allocations: 91.3 kB / 0.7318 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.1742, allocations: 0 / 0.7318 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004404/0.1747, allocations: 137.6 kB / 0.7319 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.1747, allocations: 63.47 kB / 0.732 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.692e-05/0.1748, allocations: 113.8 kB / 0.7321 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.1748, allocations: 29.64 kB / 0.7321 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.23e-05/0.1749, allocations: 92.14 kB / 0.7322 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.1749, allocations: 23.84 kB / 0.7323 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.557e-05/0.175, allocations: 41.64 kB / 0.7323 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1751, allocations: 318.8 kB / 0.7326 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.1753, allocations: 77.67 kB / 0.7327 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.1755, allocations: 105.5 kB / 0.7328 GB, free: 12 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.1758, allocations: 137 kB / 0.7329 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1758, allocations: 96 / 0.7329 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004592/0.1762, allocations: 232.8 kB / 0.7331 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.113e-05/0.1763, allocations: 36.34 kB / 0.7332 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1763, allocations: 8.062 kB / 0.7332 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.1763, allocations: 0 / 0.7332 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.895e-05/0.1764, allocations: 15.92 kB / 0.7332 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1764, allocations: 4 kB / 0.7332 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.1766, allocations: 31.91 kB / 0.7332 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.1767, allocations: 12.3 kB / 0.7332 GB, free: 11.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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.917e-05/0.1768, allocations: 121.8 kB / 0.7333 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.1768, allocations: 3.953 kB / 0.7334 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003114/0.1771, allocations: 125.9 kB / 0.7335 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.1771, allocations: 3.984 kB / 0.7335 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1771, allocations: 0 / 0.7335 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1771, allocations: 0 / 0.7335 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/0.1775, allocations: 321.6 kB / 0.7338 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1775, allocations: 0 / 0.7338 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.287e-05/0.1776, allocations: 11.98 kB / 0.7338 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1776, allocations: 4 kB / 0.7338 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.1776, allocations: 4.094 kB / 0.7338 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1776, allocations: 3.984 kB / 0.7338 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.1776, allocations: 3.938 kB / 0.7338 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.1779, allocations: 215.4 kB / 0.734 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.829e-06/0.1779, allocations: 4 kB / 0.734 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.178, allocations: 4 kB / 0.734 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.125e-05/0.1781, allocations: 11.92 kB / 0.734 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.1781, allocations: 7.938 kB / 0.734 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.1781, allocations: 7.984 kB / 0.734 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.191e-05/0.1782, allocations: 87.28 kB / 0.7341 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1782, allocations: 0 / 0.7341 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002647/0.1784, allocations: 24 kB / 0.7342 GB, free: 10.47 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0006354/0.1791, allocations: 0.7438 MB / 0.7349 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003884/0.1794, allocations: 189 kB / 0.7351 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1794, allocations: 0 / 0.7351 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.1796, allocations: 35.95 kB / 0.7351 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.1799, allocations: 15.92 kB / 0.7351 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.182, allocations: 1.754 MB / 0.7368 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.497e-05/0.1821, allocations: 75.23 kB / 0.7369 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.095e-05/0.1821, allocations: 4 kB / 0.7369 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.467e-05/0.1822, allocations: 19.42 kB / 0.7369 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of SimCode: time 4.81e-07/0.1822, allocations: 0 / 0.7369 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/0.2115, allocations: 3.102 MB / 0.7399 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.08, allocations: 5.594 kB / 0.74 GB, free: 4.5 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredMax.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.865828959038481] Failed to read output from testmodel.py, exit status != 0: 11.18962379405275 11.2148899 11.037240154 Calling exit ...