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.001284/0.001284, 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.001461/0.001461, allocations: 213.2 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.546/1.546, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.058/1.058, allocations: 149.9 MB / 463 MB, free: 10.3 MB / 366.1 MB " [Timeout remaining time 178] 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: 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.002175/0.002175, allocations: 67.14 kB / 0.6411 GB, free: 10.05 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2313, allocations: 89.17 MB / 0.7282 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002672/0.234, allocations: 0.8307 MB / 0.729 GB, free: 132 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001979/0.2359, allocations: 1.198 MB / 0.7302 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.431e-05/0.236, allocations: 4 kB / 0.7302 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.241e-05/0.236, allocations: 7.875 kB / 0.7302 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.923e-05/0.2361, allocations: 19.8 kB / 0.7302 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000527/0.2367, allocations: 150.8 kB / 0.7304 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002678/0.2369, allocations: 167.6 kB / 0.7305 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.237, allocations: 29.23 kB / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.2372, allocations: 67.81 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.2373, allocations: 56.84 kB / 0.7307 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.952e-05/0.2373, allocations: 20 kB / 0.7307 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.745e-05/0.2374, allocations: 27.98 kB / 0.7307 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.124e-05/0.2374, allocations: 27.91 kB / 0.7307 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.925e-05/0.2375, allocations: 55.78 kB / 0.7308 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.2378, allocations: 171.6 kB / 0.731 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.2378, allocations: 0 / 0.731 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.026e-06/0.2378, allocations: 4 kB / 0.731 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.2378, allocations: 0 / 0.731 GB, free: 14.13 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000687/0.2385, allocations: 414 kB / 0.7314 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.2385, allocations: 16.03 kB / 0.7314 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.794e-05/0.2385, allocations: 34.75 kB / 0.7314 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/0.2386, allocations: 20.83 kB / 0.7314 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005256/0.2391, allocations: 192.6 kB / 0.7316 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.2391, allocations: 8.312 kB / 0.7316 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.951e-05/0.2392, allocations: 16.38 kB / 0.7316 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.2394, allocations: 91.22 kB / 0.7317 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.2394, allocations: 4 kB / 0.7317 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.2394, allocations: 0 / 0.7317 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-06/0.2394, allocations: 4 kB / 0.7317 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.2396, allocations: 47.95 kB / 0.7318 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006825/0.2403, allocations: 339.6 kB / 0.7321 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.2404, allocations: 34.53 kB / 0.7321 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.547e-05/0.2405, allocations: 28.97 kB / 0.7322 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.2405, allocations: 4 kB / 0.7322 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002905/0.2408, allocations: 99.28 kB / 0.7323 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.833e-06/0.2408, allocations: 0 / 0.7323 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0004127/0.2412, allocations: 137.8 kB / 0.7324 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.2412, allocations: 55.44 kB / 0.7324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.2414, allocations: 149.8 kB / 0.7326 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.2414, allocations: 29.7 kB / 0.7326 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.262e-05/0.2415, allocations: 112.1 kB / 0.7327 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.2416, allocations: 31.8 kB / 0.7327 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.732e-05/0.2417, allocations: 45.69 kB / 0.7328 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.2418, allocations: 326.8 kB / 0.7331 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.242, allocations: 77.66 kB / 0.7332 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.2423, allocations: 159.4 kB / 0.7333 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003584/0.2426, allocations: 208.7 kB / 0.7335 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.2426, allocations: 4 kB / 0.7335 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005438/0.2432, allocations: 272.6 kB / 0.7338 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.719e-05/0.2432, allocations: 34.08 kB / 0.7338 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.2432, allocations: 4 kB / 0.7338 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.2432, allocations: 4 kB / 0.7338 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.2434, allocations: 35.84 kB / 0.7339 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.2434, allocations: 4 kB / 0.7339 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.2436, allocations: 39.86 kB / 0.7339 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.2436, allocations: 15.98 kB / 0.7339 GB, free: 10.77 MB / 0.5606 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 0.0001303/0.2437, allocations: 132.2 kB / 0.734 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.191e-05/0.2438, allocations: 19.84 kB / 0.7341 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.784e-05/0.2438, allocations: 16.7 kB / 0.7341 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2438, allocations: 3.938 kB / 0.7341 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.2438, allocations: 0 / 0.7341 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.2438, allocations: 4 kB / 0.7341 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005906/0.2444, allocations: 353.6 kB / 0.7344 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2444, allocations: 0 / 0.7344 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.081e-05/0.2445, allocations: 15.92 kB / 0.7344 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.2445, allocations: 4 kB / 0.7344 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.2445, allocations: 8 kB / 0.7345 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2445, allocations: 0 / 0.7345 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2445, allocations: 0 / 0.7345 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004481/0.245, allocations: 247.3 kB / 0.7347 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.947e-05/0.245, allocations: 11.89 kB / 0.7347 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.245, allocations: 4 kB / 0.7347 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.2451, allocations: 12.03 kB / 0.7347 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.2452, allocations: 15.92 kB / 0.7347 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.2452, allocations: 8 kB / 0.7347 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.61e-05/0.2453, allocations: 109.1 kB / 0.7348 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2453, allocations: 0 / 0.7348 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003043/0.2456, allocations: 27.94 kB / 0.7349 GB, free: 9.723 MB / 0.5606 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.0008486/0.2464, allocations: 0.7786 MB / 0.7356 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004235/0.2468, allocations: 200.9 kB / 0.7358 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2468, allocations: 0 / 0.7358 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.247, allocations: 35.91 kB / 0.7359 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.2472, allocations: 20.75 kB / 0.7359 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/0.25, allocations: 2.095 MB / 0.7379 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.546e-05/0.2501, allocations: 93.62 kB / 0.738 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.672e-05/0.2502, allocations: 16.64 kB / 0.738 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.063e-05/0.2503, allocations: 39.42 kB / 0.7381 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.2503, allocations: 3.938 kB / 0.7381 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04325/0.2935, allocations: 3.828 MB / 0.7418 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.42, allocations: 4.438 kB / 0.7418 GB, free: 2.547 MB / 0.5606 GB " [Timeout remaining time 648] (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: 15.656002619769424] Failed to read output from testmodel.py, exit status != 0: 11.52489290991798 11.540858119 11.299873945 Calling exit ...