Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008264/0.0008263, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.04/1.04, allocations: 143.4 MB / 434.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003314, allocations: 8 kB / 0.5161 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1944, allocations: 83.41 MB / 0.5975 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003027/0.1975, allocations: 2.658 MB / 0.6001 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.199, allocations: 0.8964 MB / 0.601 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001998/0.1993, allocations: 11.94 kB / 0.601 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001881/0.1995, allocations: 47.5 kB / 0.6011 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001598/0.1996, allocations: 67.44 kB / 0.6011 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004552/0.2001, allocations: 171.7 kB / 0.6013 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004497/0.2005, allocations: 487.8 kB / 0.6018 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003004/0.2009, allocations: 183.7 kB / 0.6019 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.201, allocations: 139.2 kB / 0.6021 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.2012, allocations: 147.1 kB / 0.6022 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.7e-05/0.2013, allocations: 12 kB / 0.6022 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.494e-05/0.2013, allocations: 12 kB / 0.6022 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.349e-05/0.2014, allocations: 55.7 kB / 0.6023 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.941e-05/0.2015, allocations: 105.5 kB / 0.6024 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003755/0.2019, allocations: 470.9 kB / 0.6028 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2019, allocations: 0 / 0.6028 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2019, allocations: 0 / 0.6028 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.2019, allocations: 0 / 0.6028 GB, free: 2.258 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.001039/0.2029, allocations: 0.6959 MB / 0.6035 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.203, allocations: 12.03 kB / 0.6035 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.279e-05/0.2031, allocations: 82.45 kB / 0.6036 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.708e-05/0.2032, allocations: 51.38 kB / 0.6036 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005315/0.2037, allocations: 403.5 kB / 0.604 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/0.2037, allocations: 29 kB / 0.6041 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.179e-05/0.2038, allocations: 40 kB / 0.6041 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006278/0.2044, allocations: 397.6 kB / 0.6045 GB, free: 456 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.2045, allocations: 3.938 kB / 0.6045 GB, free: 452 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/0.2045, allocations: 16 kB / 0.6045 GB, free: 436 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.2045, allocations: 8 kB / 0.6045 GB, free: 428 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004963/0.205, allocations: 263.8 kB / 0.6048 GB, free: 164 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3358/0.5408, allocations: 1.326 MB / 0.6061 GB, free: 40.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006601/0.5415, allocations: 309.8 kB / 0.6063 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.5417, allocations: 139.6 kB / 0.6065 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.667e-05/0.5418, allocations: 9.562 kB / 0.6065 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003597/0.5422, allocations: 176.1 kB / 0.6067 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.856e-06/0.5422, allocations: 0 / 0.6067 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0007162/0.5429, allocations: 387.8 kB / 0.607 GB, free: 40.01 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.5429, allocations: 86.42 kB / 0.6071 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/0.5433, allocations: 345.9 kB / 0.6074 GB, free: 39.81 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.5433, allocations: 37.95 kB / 0.6075 GB, free: 39.78 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.5434, allocations: 229.3 kB / 0.6077 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.235e-05/0.5435, allocations: 107.7 kB / 0.6078 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.68e-05/0.5435, allocations: 7.375 kB / 0.6078 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.736e-05/0.5436, allocations: 348.8 kB / 0.6081 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.5438, allocations: 102.8 kB / 0.6082 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.544, allocations: 165.3 kB / 0.6084 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.5442, allocations: 119.9 kB / 0.6085 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.5442, allocations: 0 / 0.6085 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000519/0.5448, allocations: 353.4 kB / 0.6088 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.5448, allocations: 3.719 kB / 0.6088 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.5448, allocations: 6.922 kB / 0.6089 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.5448, allocations: 2.562 kB / 0.6089 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.5451, allocations: 66.88 kB / 0.6089 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.5451, allocations: 9.547 kB / 0.6089 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.5453, allocations: 46.77 kB / 0.609 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.5453, allocations: 13.05 kB / 0.609 GB, free: 39.14 MB / 0.4981 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 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.greaterEqualThreshold.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001581/0.5455, allocations: 172.3 kB / 0.6091 GB, free: 39.03 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/0.5455, allocations: 42.31 kB / 0.6092 GB, free: 39.01 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.19e-05/0.5456, allocations: 48.22 kB / 0.6092 GB, free: 39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.5456, allocations: 6.266 kB / 0.6092 GB, free: 39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.5456, allocations: 0.5 kB / 0.6092 GB, free: 39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.5456, allocations: 3 kB / 0.6092 GB, free: 39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008625/0.5465, allocations: 0.7984 MB / 0.61 GB, free: 38.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5465, allocations: 6.688 kB / 0.61 GB, free: 38.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.5468, allocations: 50.02 kB / 0.6101 GB, free: 38.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.5468, allocations: 7.75 kB / 0.6101 GB, free: 38.69 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.5468, allocations: 6.5 kB / 0.6101 GB, free: 38.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.5468, allocations: 2.969 kB / 0.6101 GB, free: 38.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.5468, allocations: 224 / 0.6101 GB, free: 38.69 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006776/0.5475, allocations: 0.5184 MB / 0.6106 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.239e-05/0.5476, allocations: 142.2 kB / 0.6107 GB, free: 38.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.349e-05/0.5476, allocations: 10.45 kB / 0.6107 GB, free: 38.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.5478, allocations: 29.47 kB / 0.6108 GB, free: 38.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.555e-05/0.5479, allocations: 25.48 kB / 0.6108 GB, free: 38.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.5479, allocations: 9.75 kB / 0.6108 GB, free: 38.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001858/0.5481, allocations: 237.4 kB / 0.611 GB, free: 38.31 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5481, allocations: 0 / 0.611 GB, free: 38.31 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003271/0.5485, allocations: 86.16 kB / 0.6111 GB, free: 38.29 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008778/0.5493, allocations: 1.068 MB / 0.6122 GB, free: 37.61 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004714/0.5498, allocations: 271.4 kB / 0.6124 GB, free: 37.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.5498, allocations: 0 / 0.6124 GB, free: 37.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002164/0.5501, allocations: 141.6 kB / 0.6126 GB, free: 37.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004903/0.5506, allocations: 84 kB / 0.6126 GB, free: 37.56 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003589/0.5541, allocations: 2.298 MB / 0.6149 GB, free: 36.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.5544, allocations: 0.814 MB / 0.6157 GB, free: 35.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001895/0.5546, allocations: 43.44 kB / 0.6157 GB, free: 35.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.5549, allocations: 138.8 kB / 0.6158 GB, free: 35.95 MB / 0.4981 GB Notification: Performance of SimCode: time 9.62e-07/0.5549, allocations: 0 / 0.6158 GB, free: 35.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/0.5741, allocations: 6.985 MB / 0.6227 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/0.5744, allocations: 208.9 kB / 0.6229 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.944/2.518, allocations: 3.938 kB / 0.6229 GB, free: 35.28 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) Environment - environmentSimulation: