Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.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.0008686/0.0008686, allocations: 72.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.0008343/0.0008343, allocations: 174.3 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.8746/0.8746, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.567/0.567, allocations: 114 MB / 373.9 MB, free: 8.691 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.Obsolete.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.5541 GB, free: 2.805 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04e-05/1.184e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.002789/0.002801, allocations: 2.814 MB / 0.5569 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.003989, allocations: 0.9426 MB / 0.5578 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001852/0.004174, allocations: 19.88 kB / 0.5578 GB, free: 15 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001662/0.00434, allocations: 67.31 kB / 0.5579 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.004466, allocations: 99.11 kB / 0.558 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003513/0.004817, allocations: 227.1 kB / 0.5582 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003291/0.005146, allocations: 0.5067 MB / 0.5587 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.005357, allocations: 142.2 kB / 0.5588 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002485/0.005605, allocations: 275.3 kB / 0.5591 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.005732, allocations: 131.5 kB / 0.5592 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.778e-05/0.00577, allocations: 48 kB / 0.5593 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 5.472e-05/0.005825, allocations: 44 kB / 0.5593 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.567e-05/0.00587, allocations: 95.61 kB / 0.5594 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.992e-05/0.00594, allocations: 119.7 kB / 0.5595 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003742/0.006314, allocations: 0.5178 MB / 0.56 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.006317, allocations: 4 kB / 0.56 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.943e-06/0.006319, allocations: 3.984 kB / 0.56 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.006324, allocations: 7.938 kB / 0.56 GB, free: 12.74 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0007117/0.007036, allocations: 0.6411 MB / 0.5607 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.007069, allocations: 8.031 kB / 0.5607 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.287e-05/0.007122, allocations: 70.72 kB / 0.5607 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.007247, allocations: 56.64 kB / 0.5608 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003992/0.007647, allocations: 356.6 kB / 0.5611 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.007666, allocations: 21.03 kB / 0.5612 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.396e-05/0.007699, allocations: 32.38 kB / 0.5612 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003731/0.008073, allocations: 415 kB / 0.5616 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.008084, allocations: 192 / 0.5616 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.008105, allocations: 16.12 kB / 0.5616 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.008112, allocations: 8 kB / 0.5616 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002718/0.008384, allocations: 214.5 kB / 0.5618 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008829/0.009267, allocations: 1.004 MB / 0.5628 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000348/0.009615, allocations: 232.9 kB / 0.563 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.009736, allocations: 108.7 kB / 0.5631 GB, free: 9.418 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.009759, allocations: 4 kB / 0.5631 GB, free: 9.414 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.009777, allocations: 38.5 kB / 0.5632 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=22): time 1.192e-06/0.009779, allocations: 0 / 0.5632 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of matching and sorting (n=22): time 0.0004048/0.01018, allocations: 300.2 kB / 0.5634 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.01022, allocations: 106.8 kB / 0.5636 GB, free: 8.941 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.01045, allocations: 341.7 kB / 0.5639 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.01047, allocations: 29.7 kB / 0.5639 GB, free: 8.566 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.01057, allocations: 228.5 kB / 0.5641 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.01061, allocations: 75.33 kB / 0.5642 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.698e-05/0.01067, allocations: 57.66 kB / 0.5642 GB, free: 8.199 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.233e-05/0.01075, allocations: 346.8 kB / 0.5646 GB, free: 7.852 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.01085, allocations: 75.95 kB / 0.5647 GB, free: 7.777 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.01099, allocations: 207 kB / 0.5649 GB, free: 7.535 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.01121, allocations: 201.9 kB / 0.565 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01121, allocations: 0 / 0.565 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002808/0.01149, allocations: 296.3 kB / 0.5653 GB, free: 7.023 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.0115, allocations: 4 kB / 0.5653 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.01151, allocations: 4 kB / 0.5653 GB, free: 7.016 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.01152, allocations: 7.984 kB / 0.5653 GB, free: 7.008 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.01163, allocations: 51.91 kB / 0.5654 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.01164, allocations: 0 / 0.5654 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.226e-05/0.01172, allocations: 40.05 kB / 0.5654 GB, free: 6.918 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.01173, allocations: 12 kB / 0.5654 GB, free: 6.906 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (con.hys.y,$PRE.con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001121/0.01185, allocations: 157.7 kB / 0.5656 GB, free: 6.742 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.501e-05/0.01188, allocations: 43.7 kB / 0.5656 GB, free: 6.699 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.588e-05/0.01194, allocations: 35.45 kB / 0.5657 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.01194, allocations: 4 kB / 0.5657 GB, free: 6.66 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.01194, allocations: 0 / 0.5657 GB, free: 6.66 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.01195, allocations: 3.984 kB / 0.5657 GB, free: 6.656 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.01219, allocations: 328.5 kB / 0.566 GB, free: 6.293 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01219, allocations: 0 / 0.566 GB, free: 6.293 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.0123, allocations: 51.84 kB / 0.566 GB, free: 6.242 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.0123, allocations: 0 / 0.566 GB, free: 6.242 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.01232, allocations: 0 / 0.566 GB, free: 6.242 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.01232, allocations: 4 kB / 0.566 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01232, allocations: 4 kB / 0.566 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004071/0.01273, allocations: 427 kB / 0.5665 GB, free: 5.801 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.512e-05/0.01279, allocations: 59.77 kB / 0.5665 GB, free: 5.742 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.01282, allocations: 8 kB / 0.5665 GB, free: 5.734 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.007e-05/0.01291, allocations: 15.98 kB / 0.5665 GB, free: 5.719 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.01295, allocations: 19.97 kB / 0.5665 GB, free: 5.699 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.01296, allocations: 4 kB / 0.5666 GB, free: 5.695 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000157/0.01312, allocations: 243.2 kB / 0.5668 GB, free: 5.461 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.01312, allocations: 0 / 0.5668 GB, free: 5.461 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001961/0.01332, allocations: 67.78 kB / 0.5669 GB, free: 5.395 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.000584/0.0139, allocations: 0.9646 MB / 0.5678 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002599/0.01416, allocations: 191.7 kB / 0.568 GB, free: 4.219 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.01416, allocations: 4 kB / 0.568 GB, free: 4.215 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.01427, allocations: 88.34 kB / 0.5681 GB, free: 4.129 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.01457, allocations: 84.44 kB / 0.5681 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.0172, allocations: 3.098 MB / 0.5712 GB, free: 0.832 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.01731, allocations: 195.1 kB / 0.5714 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.295e-05/0.01741, allocations: 34.97 kB / 0.5714 GB, free: 0.5859 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.01753, allocations: 128.5 kB / 0.5715 GB, free: 472 kB / 0.5261 GB Notification: Performance of SimCode: time 4.8e-07/0.01753, allocations: 0 / 0.5715 GB, free: 472 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/0.03687, allocations: 7.636 MB / 0.579 GB, free: 9.059 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.224/7.261, allocations: 6.578 kB / 0.579 GB, free: 9.055 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis.fmu > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.697756444104016] Failed to read output from testmodel.py, exit status != 0: 7.34459431655705 7.35569001 7.347614238 Calling exit ...