Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.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.0009239/0.0009239, allocations: 80.48 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.001081/0.001081, allocations: 169.9 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.9345/0.9345, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.5589/0.5589, allocations: 114 MB / 373.9 MB, free: 8.734 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.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 0.5543 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.411e-05, allocations: 3.828 kB / 0.5543 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001502/0.001526, allocations: 0.8288 MB / 0.5551 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.002747, allocations: 1.198 MB / 0.5562 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.253e-05/0.00281, allocations: 0 / 0.5562 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.931e-05/0.002849, allocations: 11.86 kB / 0.5563 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.416e-05/0.002923, allocations: 19.75 kB / 0.5563 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000434/0.003357, allocations: 150.9 kB / 0.5564 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.000171/0.003528, allocations: 171.6 kB / 0.5566 GB, free: 360 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.00364, allocations: 33.28 kB / 0.5566 GB, free: 328 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.003755, allocations: 91.81 kB / 0.5567 GB, free: 236 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 8.445e-05/0.00384, allocations: 51.84 kB / 0.5567 GB, free: 184 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.003863, allocations: 16 kB / 0.5568 GB, free: 168 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.842e-05/0.003922, allocations: 35.91 kB / 0.5568 GB, free: 132 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.696e-05/0.003949, allocations: 19.92 kB / 0.5568 GB, free: 112 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 5.379e-05/0.004003, allocations: 51.89 kB / 0.5569 GB, free: 60 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.00421, allocations: 191.5 kB / 0.557 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004212, allocations: 0 / 0.557 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.72e-07/0.004213, allocations: 0 / 0.557 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.566e-06/0.004217, allocations: 4 kB / 0.5571 GB, free: 15.87 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005371/0.004754, allocations: 414.1 kB / 0.5574 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.004794, allocations: 12.56 kB / 0.5575 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.934e-05/0.004823, allocations: 38.75 kB / 0.5575 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.004866, allocations: 12.89 kB / 0.5575 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.005193, allocations: 185.7 kB / 0.5577 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.005207, allocations: 12.38 kB / 0.5577 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.005237, allocations: 24.3 kB / 0.5577 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.005401, allocations: 89.02 kB / 0.5578 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.00541, allocations: 4.188 kB / 0.5578 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.005421, allocations: 4.312 kB / 0.5578 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.005427, allocations: 7.875 kB / 0.5578 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.867e-05/0.005526, allocations: 47.95 kB / 0.5579 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000564/0.00609, allocations: 343.7 kB / 0.5582 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.579e-05/0.006166, allocations: 38.48 kB / 0.5582 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.765e-05/0.006213, allocations: 24.97 kB / 0.5583 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.006232, allocations: 0 / 0.5583 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.006411, allocations: 95.34 kB / 0.5583 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.006412, allocations: 3.938 kB / 0.5583 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0002772/0.006689, allocations: 129.6 kB / 0.5585 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.00673, allocations: 63.34 kB / 0.5585 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.479e-05/0.006824, allocations: 140.2 kB / 0.5587 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.006847, allocations: 37.69 kB / 0.5587 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.5e-05/0.006912, allocations: 104.1 kB / 0.5588 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.006932, allocations: 31.73 kB / 0.5588 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.536e-05/0.006987, allocations: 49.69 kB / 0.5589 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.138e-05/0.007079, allocations: 326.8 kB / 0.5592 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.007186, allocations: 81.67 kB / 0.5593 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.00732, allocations: 160.8 kB / 0.5594 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.007517, allocations: 200.6 kB / 0.5596 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.007519, allocations: 0 / 0.5596 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002927/0.007812, allocations: 276.9 kB / 0.5599 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.007843, allocations: 33.7 kB / 0.5599 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.00785, allocations: 4 kB / 0.5599 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.007865, allocations: 7.938 kB / 0.5599 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.819e-05/0.007924, allocations: 19.98 kB / 0.5599 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.007934, allocations: 11.92 kB / 0.56 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.008047, allocations: 44.02 kB / 0.56 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.008063, allocations: 16.36 kB / 0.56 GB, free: 12.51 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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 8.325e-05/0.008147, allocations: 125.8 kB / 0.5601 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.008159, allocations: 11.95 kB / 0.5601 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.675e-05/0.008185, allocations: 8.781 kB / 0.5601 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.008189, allocations: 7.938 kB / 0.5602 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.008194, allocations: 3.938 kB / 0.5602 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.008199, allocations: 3.984 kB / 0.5602 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000357/0.008556, allocations: 373.4 kB / 0.5605 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.008557, allocations: 0 / 0.5605 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.447e-05/0.008602, allocations: 15.98 kB / 0.5605 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.008604, allocations: 0 / 0.5605 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.008613, allocations: 4 kB / 0.5605 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.008615, allocations: 3.938 kB / 0.5605 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.008616, allocations: 0 / 0.5605 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.008857, allocations: 247.4 kB / 0.5608 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.318e-06/0.008866, allocations: 11.91 kB / 0.5608 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.00888, allocations: 4 kB / 0.5608 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.368e-05/0.008923, allocations: 11.97 kB / 0.5608 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.008961, allocations: 11.98 kB / 0.5608 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.008966, allocations: 0 / 0.5608 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.569e-05/0.009012, allocations: 105.7 kB / 0.5609 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.009012, allocations: 0 / 0.5609 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001979/0.00921, allocations: 35.92 kB / 0.561 GB, free: 11.47 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.000476/0.009686, allocations: 0.7816 MB / 0.5617 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000253/0.009939, allocations: 201.2 kB / 0.5619 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.009941, allocations: 0 / 0.5619 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.364e-05/0.01, allocations: 36.67 kB / 0.5619 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.01021, allocations: 34.03 kB / 0.562 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.01195, allocations: 2.073 MB / 0.564 GB, free: 8.121 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.72e-05/0.01201, allocations: 93.8 kB / 0.5641 GB, free: 8.008 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.191e-05/0.01205, allocations: 12.66 kB / 0.5641 GB, free: 7.996 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.65e-05/0.0121, allocations: 36.48 kB / 0.5641 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of SimCode: time 7.11e-07/0.0121, allocations: 0 / 0.5641 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0171/0.02919, allocations: 3.963 MB / 0.568 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.39/7.42, allocations: 6.516 kB / 0.568 GB, free: 4.199 MB / 0.5261 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.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_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.055599611252546] Failed to read output from testmodel.py, exit status != 0: 7.5025249077007174 7.51307543 7.506299642 Calling exit ...