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.001177/0.001177, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00137/0.00137, allocations: 177.3 kB / 15.95 MB, free: 216 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.397/1.397, allocations: 223.2 MB / 239.9 MB, free: 5.426 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.3 MB / 434.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003568, allocations: 8 kB / 0.5159 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.181, allocations: 83.41 MB / 0.5974 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003759/0.1848, allocations: 2.611 MB / 0.5999 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002063/0.1869, allocations: 0.8965 MB / 0.6008 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002851/0.1872, allocations: 11.94 kB / 0.6008 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.578e-05/0.1873, allocations: 35.58 kB / 0.6008 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004296/0.1878, allocations: 115.6 kB / 0.6009 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004674/0.1883, allocations: 175.3 kB / 0.6011 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005067/0.1888, allocations: 336.5 kB / 0.6014 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000348/0.1891, allocations: 179.7 kB / 0.6016 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002634/0.1894, allocations: 151.2 kB / 0.6017 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.1896, allocations: 147.1 kB / 0.6019 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.638e-05/0.1897, allocations: 16 kB / 0.6019 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.745e-05/0.1897, allocations: 12 kB / 0.6019 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.163e-05/0.1898, allocations: 59.7 kB / 0.602 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.278e-05/0.1899, allocations: 101.5 kB / 0.6021 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004181/0.1903, allocations: 463 kB / 0.6025 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.1903, allocations: 0 / 0.6025 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.615e-06/0.1903, allocations: 0 / 0.6025 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.1903, allocations: 0 / 0.6025 GB, free: 2.418 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.001171/0.1915, allocations: 0.6958 MB / 0.6032 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.1916, allocations: 8.031 kB / 0.6032 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.142e-05/0.1917, allocations: 82.53 kB / 0.6033 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.501e-05/0.1918, allocations: 51.44 kB / 0.6033 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000589/0.1924, allocations: 403.5 kB / 0.6037 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.313e-05/0.1924, allocations: 29 kB / 0.6037 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.13e-05/0.1925, allocations: 36 kB / 0.6038 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007231/0.1932, allocations: 397.6 kB / 0.6041 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.1932, allocations: 3.984 kB / 0.6041 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.783e-05/0.1933, allocations: 16 kB / 0.6042 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.1933, allocations: 8 kB / 0.6042 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005289/0.1938, allocations: 259.8 kB / 0.6044 GB, free: 340 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3907/0.5845, allocations: 1.329 MB / 0.6057 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000625/0.5852, allocations: 313.4 kB / 0.606 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.5852, allocations: 3.281 kB / 0.606 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003509/0.5856, allocations: 169.1 kB / 0.6062 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 3.106e-06/0.5856, allocations: 0 / 0.6062 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0007423/0.5864, allocations: 400.1 kB / 0.6066 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.5864, allocations: 83.58 kB / 0.6066 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.5867, allocations: 348 kB / 0.607 GB, free: 39.95 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.5868, allocations: 39.42 kB / 0.607 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.5869, allocations: 231.5 kB / 0.6072 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.215e-05/0.587, allocations: 101.7 kB / 0.6073 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.647e-05/0.587, allocations: 11.09 kB / 0.6073 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.164e-05/0.5871, allocations: 347.7 kB / 0.6077 GB, free: 39.44 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.5873, allocations: 103.2 kB / 0.6078 GB, free: 39.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.5875, allocations: 167.6 kB / 0.6079 GB, free: 39.37 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.5877, allocations: 118.2 kB / 0.608 GB, free: 39.37 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5877, allocations: 0 / 0.608 GB, free: 39.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005156/0.5882, allocations: 352.1 kB / 0.6084 GB, free: 39.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.5883, allocations: 5.531 kB / 0.6084 GB, free: 39.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.5883, allocations: 2.75 kB / 0.6084 GB, free: 39.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.5883, allocations: 7.031 kB / 0.6084 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.5886, allocations: 71.22 kB / 0.6085 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.5886, allocations: 3.125 kB / 0.6085 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.5888, allocations: 49.97 kB / 0.6085 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.5888, allocations: 13.94 kB / 0.6085 GB, free: 39.29 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.0001723/0.589, allocations: 169.9 kB / 0.6087 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.589, allocations: 39.38 kB / 0.6087 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.455e-05/0.5891, allocations: 42.11 kB / 0.6088 GB, free: 39.15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.5891, allocations: 10.92 kB / 0.6088 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.5891, allocations: 0 / 0.6088 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.5892, allocations: 7.234 kB / 0.6088 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009595/0.5901, allocations: 0.8039 MB / 0.6096 GB, free: 38.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5901, allocations: 0 / 0.6096 GB, free: 38.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.5904, allocations: 50.42 kB / 0.6096 GB, free: 38.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/0.5904, allocations: 5.859 kB / 0.6096 GB, free: 38.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.5904, allocations: 8.219 kB / 0.6096 GB, free: 38.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.5904, allocations: 2.906 kB / 0.6096 GB, free: 38.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5904, allocations: 0 / 0.6096 GB, free: 38.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006992/0.5911, allocations: 0.5163 MB / 0.6101 GB, free: 38.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.5913, allocations: 142.1 kB / 0.6103 GB, free: 38.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.758e-05/0.5913, allocations: 11.62 kB / 0.6103 GB, free: 38.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.5915, allocations: 22.41 kB / 0.6103 GB, free: 38.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.537e-05/0.5916, allocations: 27.98 kB / 0.6103 GB, free: 38.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.5916, allocations: 9.219 kB / 0.6103 GB, free: 38.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001972/0.5918, allocations: 239.8 kB / 0.6106 GB, free: 38.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5918, allocations: 0 / 0.6106 GB, free: 38.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003275/0.5921, allocations: 87.84 kB / 0.6106 GB, free: 38.43 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.000866/0.593, allocations: 1.064 MB / 0.6117 GB, free: 37.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005147/0.5935, allocations: 268.4 kB / 0.6119 GB, free: 37.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5935, allocations: 3.5 kB / 0.6119 GB, free: 37.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002175/0.5938, allocations: 140.3 kB / 0.6121 GB, free: 37.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.5942, allocations: 81.98 kB / 0.6122 GB, free: 37.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003578/0.5978, allocations: 3.185 MB / 0.6153 GB, free: 35.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.598, allocations: 0.8225 MB / 0.6161 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001794/0.5982, allocations: 39.56 kB / 0.6161 GB, free: 35.19 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.5984, allocations: 139.3 kB / 0.6162 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of SimCode: time 7.01e-07/0.5984, allocations: 5.031 kB / 0.6162 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/0.617, allocations: 6.959 MB / 0.623 GB, free: 34.76 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/0.6172, allocations: 206.4 kB / 0.6232 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/2.49, allocations: 0 / 0.6232 GB, free: 34.52 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: