Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 119.9 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8764/0.8764, allocations: 129.2 MB / 432.5 MB, free: 13.23 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 71.83 kB / 0.5987 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5033/0.5053, allocations: 83.44 MB / 0.6801 GB, free: 6 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003981/0.5093, allocations: 3.159 MB / 0.6832 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00156/0.5108, allocations: 0.9686 MB / 0.6842 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002727/0.5111, allocations: 13 kB / 0.6842 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002419/0.5114, allocations: 75.88 kB / 0.6843 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001771/0.5115, allocations: 92.8 kB / 0.6843 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004908/0.512, allocations: 246.8 kB / 0.6846 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004704/0.5125, allocations: 0.5494 MB / 0.6851 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002988/0.5128, allocations: 175.1 kB / 0.6853 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/0.513, allocations: 213.5 kB / 0.6855 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.5132, allocations: 204.7 kB / 0.6857 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.272e-05/0.5133, allocations: 57.17 kB / 0.6857 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.712e-05/0.5133, allocations: 50.94 kB / 0.6858 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.801e-05/0.5134, allocations: 112.6 kB / 0.6859 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.5136, allocations: 236.3 kB / 0.6861 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005459/0.5141, allocations: 0.5876 MB / 0.6867 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.5141, allocations: 1.625 kB / 0.6867 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.023e-06/0.5141, allocations: 0 / 0.6867 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.5141, allocations: 0 / 0.6867 GB, free: 0.8516 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001062/0.5152, allocations: 0.7788 MB / 0.6875 GB, free: 180 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.5152, allocations: 9.094 kB / 0.6875 GB, free: 180 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.365e-05/0.5153, allocations: 78.36 kB / 0.6875 GB, free: 104 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.327e-05/0.5154, allocations: 61.28 kB / 0.6876 GB, free: 72 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007052/0.5161, allocations: 424.1 kB / 0.688 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.558e-05/0.5161, allocations: 28.72 kB / 0.688 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.936e-05/0.5162, allocations: 37.44 kB / 0.6881 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000662/0.5168, allocations: 398 kB / 0.6884 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.5169, allocations: 8.859 kB / 0.6885 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/0.5169, allocations: 20 kB / 0.6885 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.5169, allocations: 9.156 kB / 0.6885 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000568/0.5175, allocations: 255.4 kB / 0.6887 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/0.5194, allocations: 1.313 MB / 0.69 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007304/0.5201, allocations: 296 kB / 0.6903 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000266/0.5204, allocations: 123 kB / 0.6904 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.5204, allocations: 11.19 kB / 0.6904 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003399/0.5207, allocations: 173.3 kB / 0.6906 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 2.284e-06/0.5207, allocations: 1.125 kB / 0.6906 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.0008401/0.5216, allocations: 389 kB / 0.691 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.632e-05/0.5217, allocations: 82.58 kB / 0.691 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003969/0.5221, allocations: 355 kB / 0.6914 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/0.5221, allocations: 37.08 kB / 0.6914 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.5223, allocations: 237.3 kB / 0.6916 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.537e-05/0.5224, allocations: 108 kB / 0.6917 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.5225, allocations: 69.56 kB / 0.6918 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.5227, allocations: 355.5 kB / 0.6921 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/0.523, allocations: 104.1 kB / 0.6922 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002805/0.5232, allocations: 172.9 kB / 0.6924 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005541/0.5238, allocations: 263.8 kB / 0.6927 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.5238, allocations: 5.062 kB / 0.6927 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000637/0.5244, allocations: 349.4 kB / 0.693 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.5244, allocations: 5.562 kB / 0.693 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.5245, allocations: 1.531 kB / 0.693 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.5245, allocations: 4.031 kB / 0.693 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.5247, allocations: 64.44 kB / 0.6931 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.5247, allocations: 2.812 kB / 0.6931 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.5249, allocations: 49.72 kB / 0.6931 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.525, allocations: 13.34 kB / 0.6931 GB, free: 11.91 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0001955/0.5252, allocations: 174.1 kB / 0.6933 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.053e-05/0.5252, allocations: 46.3 kB / 0.6933 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.5253, allocations: 44.69 kB / 0.6934 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.5253, allocations: 3.844 kB / 0.6934 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.5253, allocations: 1.156 kB / 0.6934 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.5253, allocations: 0 / 0.6934 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.5266, allocations: 0.8154 MB / 0.6942 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.5266, allocations: 1 kB / 0.6942 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.5268, allocations: 48.72 kB / 0.6942 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.5268, allocations: 1.469 kB / 0.6942 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.5268, allocations: 5.875 kB / 0.6942 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.5268, allocations: 1.469 kB / 0.6942 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5268, allocations: 0 / 0.6942 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008954/0.5277, allocations: 0.5239 MB / 0.6948 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.5279, allocations: 138.2 kB / 0.6949 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.141e-05/0.5279, allocations: 10.14 kB / 0.6949 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.5281, allocations: 19.61 kB / 0.6949 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.612e-05/0.5282, allocations: 24.28 kB / 0.6949 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.5282, allocations: 10.91 kB / 0.6949 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002906/0.5285, allocations: 255 kB / 0.6952 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.5285, allocations: 1.125 kB / 0.6952 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003533/0.5289, allocations: 85.19 kB / 0.6953 GB, free: 10.33 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001166/0.53, allocations: 1.06 MB / 0.6963 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005402/0.5306, allocations: 247.6 kB / 0.6965 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.5306, allocations: 1.062 kB / 0.6965 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002549/0.5308, allocations: 136.7 kB / 0.6967 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005434/0.5314, allocations: 88.19 kB / 0.6968 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005079/0.5365, allocations: 3.449 MB / 0.7001 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004933/0.5369, allocations: 0.8074 MB / 0.7009 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002067/0.5372, allocations: 45.27 kB / 0.701 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002295/0.5374, allocations: 145.4 kB / 0.7011 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of SimCode: time 1.122e-06/0.5374, allocations: 1.375 kB / 0.7011 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03681/0.5742, allocations: 7.472 MB / 0.7084 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.462/9.036, allocations: 5.625 kB / 0.7084 GB, free: 0.6133 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.600686410907656] Failed to read output from testmodel.py, exit status != 0: 9.107295574154705 9.120883636 8.603900664 Calling exit ...