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.001351/0.001351, allocations: 113.7 kB / 17.12 MB, free: 5.945 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.001487/0.001487, allocations: 208 kB / 20.09 MB, free: 2.996 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.56/1.56, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.013/1.013, allocations: 150 MB / 459.5 MB, free: 5.277 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.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.003283/0.003283, allocations: 73.3 kB / 0.6361 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1935, allocations: 89.13 MB / 0.7232 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003403/0.1969, allocations: 1.84 MB / 0.725 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.1981, allocations: 0.5805 MB / 0.7255 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.1982, allocations: 7.938 kB / 0.7255 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.1984, allocations: 23.67 kB / 0.7256 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.645e-05/0.1985, allocations: 35.72 kB / 0.7256 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.1988, allocations: 63.92 kB / 0.7257 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002891/0.1991, allocations: 175.4 kB / 0.7258 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.1992, allocations: 33.95 kB / 0.7259 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.1993, allocations: 55.78 kB / 0.7259 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.1994, allocations: 59.64 kB / 0.726 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.45e-05/0.1995, allocations: 12 kB / 0.726 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.164e-05/0.1995, allocations: 8 kB / 0.726 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.653e-05/0.1995, allocations: 31.84 kB / 0.726 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.005e-05/0.1996, allocations: 67.59 kB / 0.7261 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.1999, allocations: 135.3 kB / 0.7262 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1999, allocations: 0 / 0.7262 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.154e-06/0.1999, allocations: 0 / 0.7262 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.503e-06/0.1999, allocations: 0 / 0.7262 GB, free: 0.8711 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008726/0.2008, allocations: 478.6 kB / 0.7267 GB, free: 364 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.2008, allocations: 8.031 kB / 0.7267 GB, free: 356 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.21e-05/0.2009, allocations: 50.61 kB / 0.7267 GB, free: 296 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.2009, allocations: 20.84 kB / 0.7267 GB, free: 276 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/0.2013, allocations: 232 kB / 0.727 GB, free: 4 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.512e-05/0.2013, allocations: 12.45 kB / 0.727 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.09e-05/0.2013, allocations: 12.38 kB / 0.727 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003501/0.2017, allocations: 157.4 kB / 0.7271 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.2017, allocations: 0 / 0.7271 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.2017, allocations: 4 kB / 0.7271 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.2017, allocations: 7.984 kB / 0.7271 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002816/0.202, allocations: 63.89 kB / 0.7272 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.203, allocations: 0.751 MB / 0.7279 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.2032, allocations: 46.55 kB / 0.728 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.2033, allocations: 36.84 kB / 0.728 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.2033, allocations: 3.938 kB / 0.728 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002578/0.2036, allocations: 122.7 kB / 0.7281 GB, free: 14.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.2036, allocations: 3.938 kB / 0.7281 GB, free: 14.67 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0005101/0.2041, allocations: 165.5 kB / 0.7283 GB, free: 14.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.427e-05/0.2042, allocations: 132.5 kB / 0.7284 GB, free: 14.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.2044, allocations: 203 kB / 0.7286 GB, free: 14.13 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.2044, allocations: 29.7 kB / 0.7287 GB, free: 14.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.2045, allocations: 124 kB / 0.7288 GB, free: 13.97 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.127e-05/0.2045, allocations: 52.11 kB / 0.7288 GB, free: 13.92 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-05/0.2046, allocations: 37.7 kB / 0.7289 GB, free: 13.88 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.2048, allocations: 330.8 kB / 0.7292 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.2049, allocations: 39.97 kB / 0.7292 GB, free: 13.51 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.2051, allocations: 138.5 kB / 0.7293 GB, free: 13.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003747/0.2055, allocations: 202.3 kB / 0.7295 GB, free: 13.07 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2055, allocations: 3.938 kB / 0.7295 GB, free: 13.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004249/0.2059, allocations: 213.1 kB / 0.7297 GB, free: 12.85 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.2059, allocations: 8 kB / 0.7297 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.2059, allocations: 4.5 kB / 0.7298 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.206, allocations: 8 kB / 0.7298 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.2061, allocations: 32.17 kB / 0.7298 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.2061, allocations: 11.98 kB / 0.7298 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.2063, allocations: 31.88 kB / 0.7298 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.2063, allocations: 8 kB / 0.7298 GB, free: 12.75 MB / 0.545 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.0001272/0.2064, allocations: 137.7 kB / 0.73 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.2064, allocations: 19.91 kB / 0.73 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.101e-05/0.2065, allocations: 25.39 kB / 0.73 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2065, allocations: 0 / 0.73 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.2065, allocations: 4 kB / 0.73 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2065, allocations: 0 / 0.73 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008044/0.2073, allocations: 0.5132 MB / 0.7305 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.2073, allocations: 4 kB / 0.7305 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.2074, allocations: 19.98 kB / 0.7305 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.2074, allocations: 0 / 0.7305 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.2074, allocations: 4 kB / 0.7305 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.2075, allocations: 7.938 kB / 0.7306 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2075, allocations: 0 / 0.7306 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005428/0.208, allocations: 364.5 kB / 0.7309 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.42e-05/0.2081, allocations: 97.14 kB / 0.731 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.2081, allocations: 4 kB / 0.731 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.2083, allocations: 19.91 kB / 0.731 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.2083, allocations: 11.98 kB / 0.731 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.2083, allocations: 8 kB / 0.731 GB, free: 11.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001215/0.2085, allocations: 144.5 kB / 0.7312 GB, free: 11.27 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2085, allocations: 0 / 0.7312 GB, free: 11.27 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003332/0.2088, allocations: 28 kB / 0.7312 GB, free: 11.25 MB / 0.545 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.0009304/0.2097, allocations: 0.9005 MB / 0.7321 GB, free: 10.31 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003298/0.21, allocations: 108.7 kB / 0.7322 GB, free: 10.21 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.21, allocations: 4.062 kB / 0.7322 GB, free: 10.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.2102, allocations: 47.91 kB / 0.7322 GB, free: 10.16 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005898/0.2108, allocations: 74.92 kB / 0.7323 GB, free: 10.09 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002929/0.2137, allocations: 2.279 MB / 0.7345 GB, free: 7.621 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/0.2141, allocations: 0.7164 MB / 0.7352 GB, free: 6.875 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.528e-05/0.2142, allocations: 25.53 kB / 0.7353 GB, free: 6.852 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.27e-05/0.2143, allocations: 47.42 kB / 0.7353 GB, free: 6.805 MB / 0.545 GB Notification: Performance of SimCode: time 7.61e-07/0.2143, allocations: 0 / 0.7353 GB, free: 6.805 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0294/0.2437, allocations: 4.044 MB / 0.7392 GB, free: 2.895 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.229/8.472, allocations: 8.688 kB / 0.7393 GB, free: 2.891 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.652432167902589] Failed to read output from testmodel.py, exit status != 0: 8.548422000836581 8.575076541 8.370136817 Calling exit ...