Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.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.00134/0.00134, allocations: 117.8 kB / 19.69 MB, free: 2.199 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.001524/0.001524, allocations: 221.1 kB / 23.01 MB, free: 5.047 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.9593/0.9593, allocations: 150 MB / 463.2 MB, free: 10.46 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.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegratorWithReset",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.002154/0.002154, allocations: 72.02 kB / 0.6413 GB, free: 10.33 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1759, allocations: 89.18 MB / 0.7284 GB, free: 1.215 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003095/0.179, allocations: 1.848 MB / 0.7302 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.1801, allocations: 0.5766 MB / 0.7307 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.474e-05/0.1802, allocations: 7.938 kB / 0.7307 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.1803, allocations: 27.72 kB / 0.7308 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.925e-05/0.1804, allocations: 31.73 kB / 0.7308 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/0.1806, allocations: 71.86 kB / 0.7309 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.1809, allocations: 163.5 kB / 0.731 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.181, allocations: 41.98 kB / 0.7311 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.893e-05/0.1811, allocations: 59.73 kB / 0.7311 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.291e-05/0.1812, allocations: 55.64 kB / 0.7312 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.1812, allocations: 8 kB / 0.7312 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.704e-05/0.1813, allocations: 12 kB / 0.7312 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.634e-05/0.1813, allocations: 35.84 kB / 0.7312 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.601e-05/0.1814, allocations: 67.59 kB / 0.7313 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.1816, allocations: 135.3 kB / 0.7314 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1816, allocations: 0 / 0.7314 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1816, allocations: 0 / 0.7314 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.1816, allocations: 0 / 0.7314 GB, free: 14.07 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.000814/0.1824, allocations: 427.1 kB / 0.7318 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1825, allocations: 16.03 kB / 0.7318 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.203e-05/0.1825, allocations: 46.73 kB / 0.7319 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.1826, allocations: 16.84 kB / 0.7319 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.1829, allocations: 178.1 kB / 0.7321 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.1829, allocations: 8.375 kB / 0.7321 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.2e-05/0.183, allocations: 16.36 kB / 0.7321 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003258/0.1833, allocations: 153 kB / 0.7322 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.1833, allocations: 4 kB / 0.7322 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.1833, allocations: 7.938 kB / 0.7322 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1833, allocations: 4 kB / 0.7323 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002374/0.1836, allocations: 71.88 kB / 0.7323 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.1846, allocations: 0.7112 MB / 0.733 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.1847, allocations: 54.55 kB / 0.7331 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.1849, allocations: 32.77 kB / 0.7331 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.1849, allocations: 4 kB / 0.7331 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002697/0.1852, allocations: 122.7 kB / 0.7332 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/0.1852, allocations: 0 / 0.7332 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0005052/0.1857, allocations: 165.4 kB / 0.7334 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.1858, allocations: 136.5 kB / 0.7335 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.186, allocations: 199 kB / 0.7337 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.186, allocations: 25.95 kB / 0.7337 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.1861, allocations: 128 kB / 0.7338 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.1862, allocations: 43.83 kB / 0.7339 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.048e-05/0.1863, allocations: 37.7 kB / 0.7339 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1864, allocations: 326.8 kB / 0.7342 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.1866, allocations: 39.97 kB / 0.7343 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.1868, allocations: 155.2 kB / 0.7344 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/0.1871, allocations: 202.3 kB / 0.7346 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1871, allocations: 4 kB / 0.7346 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004074/0.1875, allocations: 205.6 kB / 0.7348 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1875, allocations: 13.91 kB / 0.7348 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.1875, allocations: 4 kB / 0.7348 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.1876, allocations: 8 kB / 0.7348 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.1877, allocations: 35.92 kB / 0.7349 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.1877, allocations: 7.938 kB / 0.7349 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.1878, allocations: 31.81 kB / 0.7349 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.1879, allocations: 8 kB / 0.7349 GB, free: 10.11 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 0.0001229/0.188, allocations: 141.6 kB / 0.7351 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.188, allocations: 19.91 kB / 0.7351 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.8e-05/0.1881, allocations: 21.39 kB / 0.7351 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1881, allocations: 4 kB / 0.7351 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1881, allocations: 0 / 0.7351 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.1881, allocations: 0 / 0.7351 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008023/0.1889, allocations: 0.4889 MB / 0.7356 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1889, allocations: 0 / 0.7356 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.189, allocations: 15.98 kB / 0.7356 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.189, allocations: 4.25 kB / 0.7356 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.189, allocations: 4 kB / 0.7356 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.189, allocations: 7.938 kB / 0.7356 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.189, allocations: 0 / 0.7356 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005452/0.1896, allocations: 366.9 kB / 0.736 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.849e-05/0.1896, allocations: 20.22 kB / 0.736 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.1896, allocations: 4 kB / 0.736 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.1898, allocations: 19.95 kB / 0.736 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/0.1899, allocations: 15.98 kB / 0.736 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.1899, allocations: 4 kB / 0.736 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001424/0.19, allocations: 140.6 kB / 0.7361 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.19, allocations: 0 / 0.7361 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003492/0.1904, allocations: 28 kB / 0.7362 GB, free: 8.746 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008773/0.1913, allocations: 0.8979 MB / 0.7371 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000339/0.1916, allocations: 116 kB / 0.7372 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1916, allocations: 0 / 0.7372 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.1917, allocations: 47.91 kB / 0.7372 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005647/0.1923, allocations: 65.62 kB / 0.7373 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002784/0.1951, allocations: 2.277 MB / 0.7395 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.1954, allocations: 0.7203 MB / 0.7402 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.031e-05/0.1955, allocations: 21.48 kB / 0.7402 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.065e-05/0.1956, allocations: 47.42 kB / 0.7403 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/0.1956, allocations: 0 / 0.7403 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03296/0.2286, allocations: 4.239 MB / 0.7444 GB, free: 236 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.34, allocations: 6.609 kB / 0.7444 GB, free: 232 kB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset_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_Utilities_Math_Examples_IntegratorWithReset.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.232470376999117] Failed to read output from testmodel.py, exit status != 0: 11.4525306430005 11.468200598 11.28320117 Calling exit ...