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.0009029/0.0009029, allocations: 76.5 kB / 19.92 MB, free: 4.633 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.0008922/0.0008922, allocations: 170.3 kB / 23.21 MB, free: 1.355 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.9343/0.9343, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.5899/0.5899, allocations: 114 MB / 373.9 MB, free: 8.707 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 3.266e-06/3.266e-06, allocations: 0 / 0.5542 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.471e-05/3.797e-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.003539/0.003577, allocations: 1.777 MB / 0.5559 GB, free: 0.9648 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002395/0.005972, allocations: 0.5493 MB / 0.5565 GB, free: 420 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002019/0.006174, allocations: 7.938 kB / 0.5565 GB, free: 412 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.006364, allocations: 19.73 kB / 0.5565 GB, free: 392 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.006477, allocations: 31.73 kB / 0.5565 GB, free: 360 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.006922, allocations: 71.73 kB / 0.5566 GB, free: 288 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0004548/0.007377, allocations: 175.5 kB / 0.5568 GB, free: 112 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002431/0.00762, allocations: 37.72 kB / 0.5568 GB, free: 76 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002585/0.007878, allocations: 83.78 kB / 0.5569 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.007983, allocations: 35.83 kB / 0.5569 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.19e-05/0.008045, allocations: 12 kB / 0.5569 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 2.232e-05/0.008067, allocations: 8 kB / 0.5569 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.17e-05/0.008129, allocations: 39.83 kB / 0.557 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 8.727e-05/0.008216, allocations: 35.92 kB / 0.557 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003432/0.008559, allocations: 139.4 kB / 0.5571 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.008568, allocations: 0 / 0.5571 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.695e-06/0.00857, allocations: 0 / 0.5571 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.008581, allocations: 3.938 kB / 0.5571 GB, free: 15.72 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.0009699/0.009551, allocations: 429.4 kB / 0.5575 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.018e-05/0.009621, allocations: 8.625 kB / 0.5576 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.159e-05/0.009693, allocations: 42.73 kB / 0.5576 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.315e-05/0.009766, allocations: 28.8 kB / 0.5576 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004295/0.0102, allocations: 169.4 kB / 0.5578 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.01022, allocations: 12.38 kB / 0.5578 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.729e-05/0.01025, allocations: 12.38 kB / 0.5578 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003474/0.0106, allocations: 150.3 kB / 0.558 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.01061, allocations: 192 / 0.558 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.01064, allocations: 12.12 kB / 0.558 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.01064, allocations: 4 kB / 0.558 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000229/0.01087, allocations: 71.83 kB / 0.558 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.01199, allocations: 0.6879 MB / 0.5587 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.01215, allocations: 38.56 kB / 0.5587 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.01225, allocations: 44.81 kB / 0.5588 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.01228, allocations: 0 / 0.5588 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00028/0.01256, allocations: 122 kB / 0.5589 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 2.545e-06/0.01257, allocations: 0 / 0.5589 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0004966/0.01306, allocations: 177.3 kB / 0.5591 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.556e-05/0.01315, allocations: 132.5 kB / 0.5592 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.01337, allocations: 207.3 kB / 0.5594 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.01339, allocations: 25.7 kB / 0.5594 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.729e-05/0.01349, allocations: 135.9 kB / 0.5596 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.01352, allocations: 39.83 kB / 0.5596 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.237e-05/0.0136, allocations: 41.7 kB / 0.5596 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.01372, allocations: 326.8 kB / 0.5599 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.01383, allocations: 35.97 kB / 0.56 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.01399, allocations: 151.6 kB / 0.5601 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.01429, allocations: 206.4 kB / 0.5603 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.0143, allocations: 3.938 kB / 0.5603 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004094/0.01471, allocations: 205.3 kB / 0.5605 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.01474, allocations: 11.98 kB / 0.5605 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.01475, allocations: 4 kB / 0.5605 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.01477, allocations: 4 kB / 0.5605 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.0149, allocations: 35.92 kB / 0.5606 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.01491, allocations: 8 kB / 0.5606 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.01505, allocations: 24.22 kB / 0.5606 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.01509, allocations: 16 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.0001439/0.01523, allocations: 137 kB / 0.5607 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.01526, allocations: 19.91 kB / 0.5608 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.646e-05/0.01531, allocations: 21.45 kB / 0.5608 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.01531, allocations: 3.938 kB / 0.5608 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.01532, allocations: 4 kB / 0.5608 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.01532, allocations: 0 / 0.5608 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007198/0.01604, allocations: 496.5 kB / 0.5613 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.01605, allocations: 0 / 0.5613 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.161e-05/0.01614, allocations: 15.98 kB / 0.5613 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.01614, allocations: 0 / 0.5613 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.01616, allocations: 4 kB / 0.5613 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.01616, allocations: 320 / 0.5613 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.01617, allocations: 4 kB / 0.5613 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004728/0.01664, allocations: 368.1 kB / 0.5616 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.01668, allocations: 19.94 kB / 0.5617 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.01671, allocations: 4.375 kB / 0.5617 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.01682, allocations: 11.98 kB / 0.5617 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/0.01688, allocations: 15.92 kB / 0.5617 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-06/0.01689, allocations: 11.92 kB / 0.5617 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001012/0.01699, allocations: 148.2 kB / 0.5618 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.21e-07/0.01699, allocations: 0 / 0.5618 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002308/0.01722, allocations: 28 kB / 0.5619 GB, free: 10.43 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.0006218/0.01784, allocations: 0.8967 MB / 0.5627 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002555/0.0181, allocations: 104.5 kB / 0.5628 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.0181, allocations: 256 / 0.5628 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.643e-05/0.01819, allocations: 51.91 kB / 0.5629 GB, free: 9.348 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.01859, allocations: 77.53 kB / 0.563 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.02056, allocations: 2.224 MB / 0.5651 GB, free: 6.863 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.136e-05/0.02064, allocations: 112.2 kB / 0.5652 GB, free: 6.738 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.289e-05/0.02073, allocations: 13.48 kB / 0.5653 GB, free: 6.723 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.034e-05/0.02081, allocations: 60.47 kB / 0.5653 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of SimCode: time 8.11e-07/0.02081, allocations: 0 / 0.5653 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/0.04323, allocations: 4.894 MB / 0.5701 GB, free: 1.969 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.156/7.2, allocations: 11.98 kB / 0.5701 GB, free: 1.957 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.856338256970048] Failed to read output from testmodel.py, exit status != 0: 7.288411169312894 7.3035329860000004 7.291903012 Calling exit ...