Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.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.001362/0.001362, allocations: 109.2 kB / 20.48 MB, free: 1.473 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.001514/0.001514, allocations: 213.7 kB / 23.79 MB, free: 4.68 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 / 257.6 MB, free: 7.992 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.9403/0.9403, allocations: 150 MB / 464 MB, free: 10.48 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.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="cs",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.001981/0.001981, allocations: 65.83 kB / 0.642 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2067, allocations: 89.19 MB / 0.7291 GB, free: 1.312 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.006191/0.2129, allocations: 4.141 MB / 0.7331 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003233/0.2161, allocations: 1.367 MB / 0.7345 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000744/0.2168, allocations: 27.81 kB / 0.7345 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000453/0.2173, allocations: 130.7 kB / 0.7346 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004679/0.2178, allocations: 178.4 kB / 0.7348 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.2188, allocations: 431.8 kB / 0.7352 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001154/0.2199, allocations: 0.9554 MB / 0.7361 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000555/0.2205, allocations: 310.9 kB / 0.7364 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004255/0.2209, allocations: 346.7 kB / 0.7368 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003938/0.2213, allocations: 334.3 kB / 0.7371 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.2214, allocations: 92 kB / 0.7372 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.2215, allocations: 88 kB / 0.7373 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.2217, allocations: 175.5 kB / 0.7374 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003775/0.2221, allocations: 394 kB / 0.7378 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.2233, allocations: 1.066 MB / 0.7388 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2233, allocations: 0 / 0.7388 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2233, allocations: 0 / 0.7388 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.2233, allocations: 4 kB / 0.7388 GB, free: 7.258 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002005/0.2253, allocations: 1.08 MB / 0.7399 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.2253, allocations: 8.031 kB / 0.7399 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.56e-05/0.2254, allocations: 13.5 kB / 0.7399 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001217/0.2255, allocations: 106.6 kB / 0.74 GB, free: 6 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.2256, allocations: 92.42 kB / 0.7401 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009642/0.2266, allocations: 500 kB / 0.7406 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.695e-05/0.2267, allocations: 45.69 kB / 0.7406 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.845e-05/0.2268, allocations: 68.36 kB / 0.7407 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.2279, allocations: 0.5997 MB / 0.7413 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/0.2279, allocations: 11.98 kB / 0.7413 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.542e-05/0.2279, allocations: 24 kB / 0.7413 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.228, allocations: 16 kB / 0.7413 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.229, allocations: 461 kB / 0.7418 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003061/0.232, allocations: 1.955 MB / 0.7437 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009362/0.233, allocations: 417.9 kB / 0.7441 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000474/0.2334, allocations: 234 kB / 0.7443 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.515e-05/0.2335, allocations: 4.438 kB / 0.7443 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005754/0.2341, allocations: 257.3 kB / 0.7446 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=49): time 2.204e-06/0.2341, allocations: 3.938 kB / 0.7446 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49): time 0.00137/0.2354, allocations: 0.5892 MB / 0.7451 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.2356, allocations: 55.84 kB / 0.7452 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005128/0.2361, allocations: 450 kB / 0.7456 GB, free: 112 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.2361, allocations: 33.64 kB / 0.7456 GB, free: 72 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/0.2364, allocations: 332.8 kB / 0.746 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001498/0.2365, allocations: 174.5 kB / 0.7461 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.2367, allocations: 94.34 kB / 0.7462 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.2369, allocations: 366.8 kB / 0.7466 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004112/0.2373, allocations: 165.2 kB / 0.7467 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004508/0.2377, allocations: 254.6 kB / 0.747 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000935/0.2387, allocations: 455 kB / 0.7474 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2387, allocations: 0 / 0.7474 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001087/0.2398, allocations: 0.5651 MB / 0.748 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.971e-05/0.2398, allocations: 37.69 kB / 0.748 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.2398, allocations: 4 kB / 0.748 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.2398, allocations: 4 kB / 0.748 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005006/0.2403, allocations: 115.8 kB / 0.7481 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.2403, allocations: 4 kB / 0.7481 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/0.2407, allocations: 63.86 kB / 0.7482 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-05/0.2407, allocations: 23.98 kB / 0.7482 GB, free: 13.36 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.0002658/0.241, allocations: 208 kB / 0.7484 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.847e-05/0.2411, allocations: 55.61 kB / 0.7484 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.2412, allocations: 69.58 kB / 0.7485 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.2412, allocations: 4 kB / 0.7485 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.2412, allocations: 0 / 0.7485 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.2412, allocations: 4 kB / 0.7485 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/0.2431, allocations: 1.15 MB / 0.7496 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2431, allocations: 0 / 0.7496 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000488/0.2436, allocations: 95.81 kB / 0.7497 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.2436, allocations: 4 kB / 0.7497 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-05/0.2436, allocations: 12 kB / 0.7498 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.2436, allocations: 7.938 kB / 0.7498 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.2436, allocations: 3.984 kB / 0.7498 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.2451, allocations: 0.7575 MB / 0.7505 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.2452, allocations: 99.58 kB / 0.7506 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.578e-05/0.2453, allocations: 12 kB / 0.7506 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002847/0.2456, allocations: 27.97 kB / 0.7506 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.902e-05/0.2457, allocations: 32.38 kB / 0.7507 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.2457, allocations: 12 kB / 0.7507 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003761/0.2461, allocations: 310.9 kB / 0.751 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2461, allocations: 3.938 kB / 0.751 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004606/0.2465, allocations: 143.7 kB / 0.7511 GB, free: 10.29 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001799/0.2483, allocations: 1.327 MB / 0.7524 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009671/0.2493, allocations: 456.7 kB / 0.7528 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2493, allocations: 0 / 0.7528 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004358/0.2497, allocations: 210.8 kB / 0.753 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007905/0.2505, allocations: 157.3 kB / 0.7532 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008133/0.2587, allocations: 4.795 MB / 0.7579 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005528/0.2592, allocations: 0.8939 MB / 0.7588 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002826/0.2595, allocations: 64.58 kB / 0.7588 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003376/0.2598, allocations: 223.4 kB / 0.759 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of SimCode: time 8.21e-07/0.2598, allocations: 0 / 0.759 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3914/0.6513, allocations: 11.82 MB / 0.7706 GB, free: 33.76 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.73, allocations: 7.625 kB / 0.7706 GB, free: 33.76 MB / 0.5762 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.801362424041145] Failed to read output from testmodel.py, exit status != 0: 12.901277197001036 12.917160566 12.690629542 Calling exit ...