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.001762/0.001762, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002479/0.002479, allocations: 209 kB / 22.99 MB, free: 4.977 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.933/0.933, allocations: 149.9 MB / 463 MB, free: 10.35 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.002058/0.002058, allocations: 62.06 kB / 0.6411 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1735, allocations: 89.18 MB / 0.7281 GB, free: 1.008 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002022/0.1756, allocations: 0.6932 MB / 0.7288 GB, free: 320 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001825/0.1774, allocations: 1.217 MB / 0.73 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.299e-05/0.1774, allocations: 0 / 0.73 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.071e-05/0.1774, allocations: 7.938 kB / 0.73 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.765e-05/0.1775, allocations: 11.88 kB / 0.73 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005198/0.178, allocations: 148.2 kB / 0.7302 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.1782, allocations: 115.8 kB / 0.7303 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.807e-05/0.1783, allocations: 15.92 kB / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.196e-05/0.1784, allocations: 39.97 kB / 0.7303 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.769e-05/0.1785, allocations: 47.75 kB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.1785, allocations: 8 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.004e-05/0.1786, allocations: 35.97 kB / 0.7304 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.592e-05/0.1786, allocations: 8 kB / 0.7304 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.084e-05/0.1787, allocations: 39.84 kB / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.1789, allocations: 112 kB / 0.7306 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1789, allocations: 0 / 0.7306 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1789, allocations: 0 / 0.7306 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.1789, allocations: 0 / 0.7306 GB, free: 14.51 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.0006199/0.1795, allocations: 335.8 kB / 0.7309 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1796, allocations: 12.03 kB / 0.7309 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.473e-05/0.1796, allocations: 34.69 kB / 0.7309 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.039e-05/0.1797, allocations: 12.89 kB / 0.731 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.1798, allocations: 126.3 kB / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.1798, allocations: 4.375 kB / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.1799, allocations: 8.375 kB / 0.7311 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.1801, allocations: 62.22 kB / 0.7311 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1801, allocations: 3.938 kB / 0.7311 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.1801, allocations: 4 kB / 0.7312 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.1801, allocations: 0 / 0.7312 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.1803, allocations: 47.95 kB / 0.7312 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005132/0.1808, allocations: 279.8 kB / 0.7315 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.1809, allocations: 46.55 kB / 0.7315 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.891e-05/0.181, allocations: 32.92 kB / 0.7315 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.181, allocations: 0 / 0.7315 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002286/0.1813, allocations: 87.36 kB / 0.7316 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.1813, allocations: 0 / 0.7316 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004474/0.1817, allocations: 141.8 kB / 0.7318 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.1818, allocations: 55.41 kB / 0.7318 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.716e-05/0.1819, allocations: 105.8 kB / 0.7319 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.1819, allocations: 33.7 kB / 0.7319 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.218e-05/0.182, allocations: 96.12 kB / 0.732 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.182, allocations: 19.92 kB / 0.7321 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.47e-05/0.1821, allocations: 33.7 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1822, allocations: 326.8 kB / 0.7324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.1824, allocations: 81.66 kB / 0.7325 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.1826, allocations: 113 kB / 0.7326 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/0.1829, allocations: 121.1 kB / 0.7327 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1829, allocations: 0 / 0.7327 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004562/0.1833, allocations: 233.4 kB / 0.7329 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.596e-05/0.1834, allocations: 43.72 kB / 0.733 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.1834, allocations: 4.062 kB / 0.733 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.1834, allocations: 4 kB / 0.733 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.011e-05/0.1835, allocations: 15.92 kB / 0.733 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.1835, allocations: 7.922 kB / 0.733 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.1837, allocations: 35.89 kB / 0.733 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.1837, allocations: 12.06 kB / 0.733 GB, free: 11.72 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 0.0001174/0.1838, allocations: 121.7 kB / 0.7332 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.804e-05/0.1839, allocations: 11.95 kB / 0.7332 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002919/0.1841, allocations: 114 kB / 0.7333 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1841, allocations: 0 / 0.7333 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1841, allocations: 0 / 0.7333 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.1842, allocations: 0 / 0.7333 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004584/0.1846, allocations: 333.5 kB / 0.7336 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1846, allocations: 0 / 0.7336 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.716e-05/0.1847, allocations: 8 kB / 0.7336 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1847, allocations: 3.984 kB / 0.7336 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.1847, allocations: 0 / 0.7336 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1847, allocations: 0 / 0.7336 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1847, allocations: 7.938 kB / 0.7336 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.185, allocations: 211.4 kB / 0.7338 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-06/0.185, allocations: 4 kB / 0.7338 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.185, allocations: 0 / 0.7338 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.302e-05/0.1851, allocations: 7.984 kB / 0.7338 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.1851, allocations: 15.92 kB / 0.7338 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.1852, allocations: 4 kB / 0.7338 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.369e-05/0.1852, allocations: 91.27 kB / 0.7339 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1852, allocations: 0 / 0.7339 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002487/0.1855, allocations: 19.94 kB / 0.734 GB, free: 10.71 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.0006777/0.1861, allocations: 0.7436 MB / 0.7347 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004064/0.1865, allocations: 181 kB / 0.7349 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.1866, allocations: 4.281 kB / 0.7349 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.1867, allocations: 35.92 kB / 0.7349 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.187, allocations: 15.86 kB / 0.7349 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/0.1893, allocations: 1.77 MB / 0.7366 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.977e-05/0.1894, allocations: 71.25 kB / 0.7367 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.078e-05/0.1894, allocations: 4 kB / 0.7367 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.671e-05/0.1894, allocations: 23.42 kB / 0.7367 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.1894, allocations: 4 kB / 0.7367 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03003/0.2195, allocations: 3.09 MB / 0.7397 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.36, allocations: 5.484 kB / 0.7398 GB, free: 4.727 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 15.158868039958179] Failed to read output from testmodel.py, exit status != 0: 11.496974790934473 11.520963462 11.337540379 Calling exit ...