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.0008545/0.0008545, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.001027/0.001027, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9148/0.9148, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.5667/0.5667, allocations: 114 MB / 373.9 MB, free: 8.703 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.5542 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.697e-05/2.84e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002779/0.002808, allocations: 1.772 MB / 0.5559 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0009164/0.003724, allocations: 0.5493 MB / 0.5565 GB, free: 428 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.003852, allocations: 7.938 kB / 0.5565 GB, free: 420 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.003996, allocations: 23.73 kB / 0.5565 GB, free: 396 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.593e-05/0.004062, allocations: 31.72 kB / 0.5565 GB, free: 364 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.004316, allocations: 71.78 kB / 0.5566 GB, free: 292 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.00452, allocations: 179.4 kB / 0.5568 GB, free: 112 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.004651, allocations: 33.72 kB / 0.5568 GB, free: 80 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.004766, allocations: 83.83 kB / 0.5569 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.91e-05/0.004826, allocations: 43.77 kB / 0.5569 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.004855, allocations: 12 kB / 0.5569 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.342e-05/0.004868, allocations: 8 kB / 0.5569 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.928e-05/0.004898, allocations: 31.86 kB / 0.557 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.387e-05/0.004942, allocations: 35.84 kB / 0.557 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.005108, allocations: 135.5 kB / 0.5571 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.005111, allocations: 0 / 0.5571 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.242e-06/0.005112, allocations: 4 kB / 0.5571 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.005117, allocations: 3.938 kB / 0.5571 GB, free: 15.73 MB / 0.5261 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.0006377/0.005755, allocations: 424.4 kB / 0.5575 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.005796, allocations: 8.031 kB / 0.5576 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.829e-05/0.005834, allocations: 46.73 kB / 0.5576 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.015e-05/0.005875, allocations: 24.8 kB / 0.5576 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.006134, allocations: 173.4 kB / 0.5578 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.006148, allocations: 12.38 kB / 0.5578 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.006173, allocations: 16.36 kB / 0.5578 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.006395, allocations: 154.3 kB / 0.558 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.006405, allocations: 192 / 0.558 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.006418, allocations: 4.125 kB / 0.558 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.006425, allocations: 4 kB / 0.558 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.006565, allocations: 75.88 kB / 0.558 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007865/0.007352, allocations: 0.6801 MB / 0.5587 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.007497, allocations: 46.48 kB / 0.5588 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.509e-05/0.007583, allocations: 40.77 kB / 0.5588 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.007605, allocations: 0 / 0.5588 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002149/0.00782, allocations: 126.5 kB / 0.5589 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.007821, allocations: 0 / 0.5589 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0004141/0.008236, allocations: 173.3 kB / 0.5591 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.848e-05/0.008304, allocations: 128.5 kB / 0.5592 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.008485, allocations: 203 kB / 0.5594 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.008505, allocations: 29.7 kB / 0.5594 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.143e-05/0.008586, allocations: 124 kB / 0.5595 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.008621, allocations: 43.94 kB / 0.5596 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.826e-05/0.00868, allocations: 41.7 kB / 0.5596 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.008784, allocations: 330.8 kB / 0.5599 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.732e-05/0.008881, allocations: 43.84 kB / 0.56 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.009027, allocations: 144.1 kB / 0.5601 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.009283, allocations: 210.3 kB / 0.5603 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.009287, allocations: 3.938 kB / 0.5603 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003391/0.009626, allocations: 201.8 kB / 0.5605 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.009645, allocations: 12.03 kB / 0.5605 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.009652, allocations: 4.047 kB / 0.5605 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.009671, allocations: 7.984 kB / 0.5605 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.933e-05/0.00977, allocations: 31.92 kB / 0.5606 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.009782, allocations: 11.94 kB / 0.5606 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.009902, allocations: 31.86 kB / 0.5606 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.009915, allocations: 12 kB / 0.5606 GB, free: 11.8 MB / 0.5261 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.0001112/0.01003, allocations: 133 kB / 0.5607 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.01006, allocations: 19.91 kB / 0.5608 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.217e-05/0.01011, allocations: 25.45 kB / 0.5608 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.01011, allocations: 0 / 0.5608 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.01012, allocations: 4 kB / 0.5608 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.01012, allocations: 0 / 0.5608 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005559/0.01068, allocations: 480.8 kB / 0.5613 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01068, allocations: 4 kB / 0.5613 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.562e-05/0.01075, allocations: 24.23 kB / 0.5613 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.01075, allocations: 4 kB / 0.5613 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.01076, allocations: 4 kB / 0.5613 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.01077, allocations: 4 kB / 0.5613 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.01077, allocations: 3.984 kB / 0.5613 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003121/0.01108, allocations: 364.2 kB / 0.5616 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/0.0111, allocations: 15.91 kB / 0.5617 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.01112, allocations: 0 / 0.5617 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.509e-05/0.01121, allocations: 19.98 kB / 0.5617 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.01126, allocations: 19.91 kB / 0.5617 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.01127, allocations: 7.938 kB / 0.5617 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.178e-05/0.01135, allocations: 148.2 kB / 0.5618 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.01135, allocations: 0 / 0.5618 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002247/0.01157, allocations: 24 kB / 0.5619 GB, free: 10.44 MB / 0.5261 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.0007365/0.01231, allocations: 0.8998 MB / 0.5627 GB, free: 9.508 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002151/0.01252, allocations: 111.8 kB / 0.5629 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.01253, allocations: 0 / 0.5629 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.905e-05/0.01262, allocations: 48.91 kB / 0.5629 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.01302, allocations: 70.14 kB / 0.563 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.01484, allocations: 2.235 MB / 0.5651 GB, free: 6.863 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.528e-05/0.01494, allocations: 108.3 kB / 0.5653 GB, free: 6.742 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001018/0.01504, allocations: 21.47 kB / 0.5653 GB, free: 6.719 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.621e-05/0.01512, allocations: 56.42 kB / 0.5653 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of SimCode: time 9.32e-07/0.01512, allocations: 0 / 0.5653 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02167/0.03679, allocations: 4.892 MB / 0.5701 GB, free: 1.973 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.986/7.023, allocations: 6.406 kB / 0.5701 GB, free: 1.969 MB / 0.5261 GB " [Timeout remaining time 653] (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: 9.653438797220588] Failed to read output from testmodel.py, exit status != 0: 7.107079611159861 7.122265588 7.11367037 Calling exit ...