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.002018/0.002018, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.003032/0.003032, allocations: 212.4 kB / 22.99 MB, free: 4.605 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.9694/0.9694, allocations: 149.9 MB / 463 MB, free: 10.32 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.002254/0.002254, allocations: 66.86 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2266, allocations: 89.17 MB / 0.7282 GB, free: 1.02 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.005493/0.2321, allocations: 1.784 MB / 0.7299 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001956/0.2341, allocations: 0.5416 MB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.2342, allocations: 7.938 kB / 0.7304 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001891/0.2344, allocations: 19.73 kB / 0.7305 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001552/0.2345, allocations: 35.72 kB / 0.7305 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.2349, allocations: 75.78 kB / 0.7306 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004244/0.2353, allocations: 167.5 kB / 0.7307 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/0.2355, allocations: 34.06 kB / 0.7308 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.2357, allocations: 59.66 kB / 0.7308 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.2358, allocations: 51.7 kB / 0.7309 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.267e-05/0.2359, allocations: 8 kB / 0.7309 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.676e-05/0.2359, allocations: 12 kB / 0.7309 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.154e-05/0.236, allocations: 27.86 kB / 0.7309 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.2361, allocations: 55.72 kB / 0.731 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.2364, allocations: 143.2 kB / 0.7311 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2364, allocations: 0 / 0.7311 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2364, allocations: 0 / 0.7311 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.2364, allocations: 0 / 0.7311 GB, free: 13.99 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.001137/0.2375, allocations: 431.1 kB / 0.7315 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.2376, allocations: 8.031 kB / 0.7315 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.32e-05/0.2377, allocations: 46.73 kB / 0.7316 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.504e-05/0.2377, allocations: 20.84 kB / 0.7316 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004872/0.2382, allocations: 174.2 kB / 0.7317 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.2382, allocations: 8.375 kB / 0.7318 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.045e-05/0.2383, allocations: 12.38 kB / 0.7318 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005058/0.2388, allocations: 157.2 kB / 0.7319 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.2388, allocations: 4 kB / 0.7319 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.2388, allocations: 0 / 0.7319 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.2388, allocations: 4 kB / 0.7319 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003425/0.2392, allocations: 71.89 kB / 0.732 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.2403, allocations: 0.6956 MB / 0.7327 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.2405, allocations: 50.5 kB / 0.7327 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.2406, allocations: 28.83 kB / 0.7327 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.2406, allocations: 8 kB / 0.7328 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002406/0.2408, allocations: 125.2 kB / 0.7329 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.2408, allocations: 4 kB / 0.7329 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0004841/0.2413, allocations: 161.6 kB / 0.733 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.876e-05/0.2414, allocations: 136.7 kB / 0.7332 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.2416, allocations: 203.2 kB / 0.7334 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.2416, allocations: 33.7 kB / 0.7334 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.703e-05/0.2417, allocations: 128 kB / 0.7335 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.2418, allocations: 31.73 kB / 0.7335 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.798e-05/0.2418, allocations: 45.7 kB / 0.7336 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.242, allocations: 322.8 kB / 0.7339 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.2421, allocations: 43.97 kB / 0.7339 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.2424, allocations: 151.2 kB / 0.7341 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000379/0.2427, allocations: 210.2 kB / 0.7343 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.2427, allocations: 4 kB / 0.7343 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004345/0.2432, allocations: 205.4 kB / 0.7345 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.2432, allocations: 11.98 kB / 0.7345 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.2432, allocations: 4 kB / 0.7345 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.2432, allocations: 4 kB / 0.7345 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.2433, allocations: 31.92 kB / 0.7345 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.2434, allocations: 7.938 kB / 0.7345 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.2435, allocations: 28.16 kB / 0.7346 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.2435, allocations: 12 kB / 0.7346 GB, free: 10.07 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.0001318/0.2436, allocations: 141.6 kB / 0.7347 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.283e-05/0.2437, allocations: 19.91 kB / 0.7347 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.612e-05/0.2437, allocations: 21.39 kB / 0.7347 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.2437, allocations: 4 kB / 0.7347 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2437, allocations: 0 / 0.7347 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.2437, allocations: 4 kB / 0.7348 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007744/0.2445, allocations: 480.7 kB / 0.7352 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2445, allocations: 0 / 0.7352 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.2446, allocations: 19.92 kB / 0.7352 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.2446, allocations: 4 kB / 0.7352 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.2447, allocations: 4 kB / 0.7352 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/0.2447, allocations: 7.938 kB / 0.7352 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2447, allocations: 0 / 0.7352 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005262/0.2452, allocations: 360.5 kB / 0.7356 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.519e-05/0.2452, allocations: 23.88 kB / 0.7356 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.2453, allocations: 8.094 kB / 0.7356 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.2454, allocations: 15.92 kB / 0.7356 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.2455, allocations: 15.97 kB / 0.7357 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.2455, allocations: 7.984 kB / 0.7357 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001271/0.2456, allocations: 136.6 kB / 0.7358 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2456, allocations: 0 / 0.7358 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003313/0.2459, allocations: 28 kB / 0.7358 GB, free: 8.711 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.0008563/0.2468, allocations: 0.8993 MB / 0.7367 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003232/0.2471, allocations: 112.5 kB / 0.7368 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2471, allocations: 256 / 0.7368 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.2473, allocations: 51.91 kB / 0.7369 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005513/0.2478, allocations: 68.23 kB / 0.7369 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002886/0.2507, allocations: 2.281 MB / 0.7391 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.2508, allocations: 116.1 kB / 0.7393 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.532e-05/0.2509, allocations: 13.48 kB / 0.7393 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.613e-05/0.251, allocations: 51.42 kB / 0.7393 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.251, allocations: 0 / 0.7393 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03459/0.2856, allocations: 4.774 MB / 0.744 GB, free: 316 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.77, allocations: 2.5 kB / 0.744 GB, free: 316 kB / 0.5606 GB " [Timeout remaining time 648] (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.758330890908837] Failed to read output from testmodel.py, exit status != 0: 11.895553793292493 11.912121215 11.672251102 Calling exit ...