Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.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.001454/0.001454, allocations: 112.9 kB / 17.12 MB, free: 6.008 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.001697/0.001697, allocations: 212.3 kB / 20.1 MB, free: 3.055 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.524/1.524, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.9973/0.9973, allocations: 150 MB / 459.5 MB, free: 5.312 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.Logical.Validation.VariablePulseMinHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold",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.001989/0.001989, allocations: 73.47 kB / 0.6361 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1713, allocations: 89.13 MB / 0.7232 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.002516/0.1738, allocations: 1.081 MB / 0.7242 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002366/0.1761, allocations: 1.665 MB / 0.7258 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.1762, allocations: 4 kB / 0.7258 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.1764, allocations: 19.73 kB / 0.7259 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.1765, allocations: 43.66 kB / 0.7259 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000606/0.1771, allocations: 222.9 kB / 0.7261 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003792/0.1775, allocations: 327.3 kB / 0.7264 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.1777, allocations: 54.66 kB / 0.7265 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.1778, allocations: 131.6 kB / 0.7266 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.178, allocations: 119.5 kB / 0.7267 GB, free: 400 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.051e-05/0.1781, allocations: 36 kB / 0.7268 GB, free: 364 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.483e-05/0.1782, allocations: 51.97 kB / 0.7268 GB, free: 312 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.682e-05/0.1782, allocations: 51.83 kB / 0.7269 GB, free: 260 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.1783, allocations: 123.5 kB / 0.727 GB, free: 136 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004378/0.1788, allocations: 366.9 kB / 0.7273 GB, free: 15.77 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1788, allocations: 0 / 0.7273 GB, free: 15.77 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1788, allocations: 0 / 0.7273 GB, free: 15.77 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.1788, allocations: 0 / 0.7273 GB, free: 15.77 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.000972/0.1798, allocations: 0.5516 MB / 0.7279 GB, free: 15.16 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.1798, allocations: 8.031 kB / 0.7279 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.411e-05/0.1799, allocations: 46.73 kB / 0.7279 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.734e-05/0.1799, allocations: 28.83 kB / 0.7279 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003817/0.1803, allocations: 272.5 kB / 0.7282 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.1804, allocations: 20.66 kB / 0.7282 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.851e-05/0.1804, allocations: 24.36 kB / 0.7282 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003871/0.1808, allocations: 187.9 kB / 0.7284 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1808, allocations: 0 / 0.7284 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.026e-05/0.1808, allocations: 11.98 kB / 0.7284 GB, free: 14.53 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1808, allocations: 4 kB / 0.7284 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003177/0.1812, allocations: 128.8 kB / 0.7286 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.1822, allocations: 0.6447 MB / 0.7292 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004566/0.1826, allocations: 170.9 kB / 0.7294 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.1828, allocations: 72.77 kB / 0.7294 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.1828, allocations: 15.86 kB / 0.7294 GB, free: 13.44 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003848/0.1832, allocations: 196 kB / 0.7296 GB, free: 13.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.713e-06/0.1832, allocations: 0 / 0.7296 GB, free: 13.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=25): time 0.0007999/0.184, allocations: 333.2 kB / 0.7299 GB, free: 12.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.1841, allocations: 55.41 kB / 0.73 GB, free: 12.84 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.1843, allocations: 186.3 kB / 0.7302 GB, free: 12.64 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/0.1843, allocations: 41.7 kB / 0.7302 GB, free: 12.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.1844, allocations: 124.7 kB / 0.7303 GB, free: 12.47 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.089e-05/0.1845, allocations: 67.47 kB / 0.7304 GB, free: 12.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.1846, allocations: 77.53 kB / 0.7305 GB, free: 12.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1848, allocations: 330.8 kB / 0.7308 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.185, allocations: 91.95 kB / 0.7309 GB, free: 11.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.1852, allocations: 148.6 kB / 0.731 GB, free: 11.74 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.1855, allocations: 208.9 kB / 0.7312 GB, free: 11.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1855, allocations: 0 / 0.7312 GB, free: 11.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005821/0.1861, allocations: 339.3 kB / 0.7315 GB, free: 11.17 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.541e-05/0.1862, allocations: 39.34 kB / 0.7316 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1862, allocations: 4 kB / 0.7316 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1862, allocations: 4 kB / 0.7316 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.1863, allocations: 31.92 kB / 0.7316 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.1863, allocations: 0 / 0.7316 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/0.1866, allocations: 47.84 kB / 0.7317 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.409e-05/0.1866, allocations: 19.94 kB / 0.7317 GB, free: 11.02 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 31 ($whenCondition6,$whenCondition7,conChaWid.preBre.y,$PRE.conChaWid.preBre.u,$whenCondition1,conPul1.booPul.y,$PRE.conPul1.booPul.y,conChaWid.truFalHol.entryTimeFalse,$PRE.conChaWid.truFalHol.entryTimeFalse,conChaWid.truFalHol.entryTimeTrue,$PRE.conChaWid.truFalHol.entryTimeTrue,conChaWid.truFalHol.not_y,$PRE.conChaWid.truFalHol.not_y,conChaWid.truFalHol.not_u,$PRE.conChaWid.truFalHol.not_u,conChaWid.truFalHol.y,$PRE.conChaWid.truFalHol.y,conChaWid.truFalHol.u,$PRE.conChaWid.truFalHol.u,conChaWid.cycOut.t0,$PRE.conChaWid.cycOut.t0,conChaWid.preBre.u,conChaWid.edg2.y,conChaWid.edg2.u,$PRE.conChaWid.edg2.u,conChaWid.triSam.y,$PRE.conChaWid.triSam.y,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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.0001715/0.1868, allocations: 165.8 kB / 0.7318 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.1868, allocations: 19.84 kB / 0.7319 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005919/0.1874, allocations: 267.4 kB / 0.7321 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.1874, allocations: 4 kB / 0.7321 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1875, allocations: 0 / 0.7321 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.1875, allocations: 3.984 kB / 0.7321 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.1885, allocations: 0.6636 MB / 0.7328 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1885, allocations: 0 / 0.7328 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.01e-05/0.1886, allocations: 19.92 kB / 0.7328 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1886, allocations: 0 / 0.7328 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.1886, allocations: 7.984 kB / 0.7328 GB, free: 9.809 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1886, allocations: 0 / 0.7328 GB, free: 9.809 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1886, allocations: 4 kB / 0.7328 GB, free: 9.805 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005895/0.1892, allocations: 368.2 kB / 0.7331 GB, free: 9.43 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.846e-05/0.1893, allocations: 96.95 kB / 0.7332 GB, free: 9.316 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.1893, allocations: 8 kB / 0.7333 GB, free: 9.309 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.1895, allocations: 19.97 kB / 0.7333 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.863e-05/0.1895, allocations: 27.91 kB / 0.7333 GB, free: 9.262 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/0.1896, allocations: 19.92 kB / 0.7333 GB, free: 9.242 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001303/0.1897, allocations: 124.2 kB / 0.7334 GB, free: 9.121 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1897, allocations: 4 kB / 0.7334 GB, free: 9.117 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003267/0.19, allocations: 55.95 kB / 0.7335 GB, free: 9.062 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: 20 (conChaWid.edg2.y,conChaWid.preBre.y,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conChaWid.triSam.y,conChaWid.edg2.u,conChaWid.preBre.u,conChaWid.cycOut.t0,conChaWid.truFalHol.u,conChaWid.truFalHol.y,conChaWid.truFalHol.not_u,conChaWid.truFalHol.not_y,conChaWid.truFalHol.entryTimeTrue,conChaWid.truFalHol.entryTimeFalse,conPul1.booPul.y) * Number of discrete states: 8 (conChaWid.truFalHol.entryTimeFalse,conChaWid.truFalHol.entryTimeTrue,conChaWid.preBre.u,conChaWid.edg2.u,conChaWid.truFalHol.u,conChaWid.truFalHol.not_u,conChaWid.truFalHol.y,conChaWid.truFalHol.not_y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0009902/0.191, allocations: 0.9208 MB / 0.7344 GB, free: 8.113 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005648/0.1916, allocations: 283.6 kB / 0.7347 GB, free: 7.824 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1916, allocations: 0 / 0.7347 GB, free: 7.824 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002303/0.1918, allocations: 95.84 kB / 0.7348 GB, free: 7.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.1922, allocations: 57.78 kB / 0.7348 GB, free: 7.676 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003199/0.1954, allocations: 2.387 MB / 0.7371 GB, free: 5.18 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.1958, allocations: 0.7324 MB / 0.7379 GB, free: 4.422 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.878e-05/0.1959, allocations: 21.94 kB / 0.7379 GB, free: 4.398 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.196, allocations: 63.41 kB / 0.7379 GB, free: 4.336 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.196, allocations: 0 / 0.7379 GB, free: 4.336 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02981/0.2258, allocations: 5.141 MB / 0.743 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.265/8.491, allocations: 23.31 kB / 0.743 GB, free: 15.35 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold_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_VariablePulseMinHold.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.463150061899796] Failed to read output from testmodel.py, exit status != 0: 8.564237531973049 8.590421503 8.407160851 Calling exit ...