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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.001224/0.001224, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001258/0.001258, allocations: 187.5 kB / 16.25 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 222.9 MB / 239.9 MB, free: 4.387 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.011/1.011, allocations: 143 MB / 433.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 59.91 kB / 0.5138 GB, free: 11.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1708, allocations: 82.04 MB / 0.5939 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004356/0.1752, allocations: 3.161 MB / 0.597 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001626/0.1769, allocations: 0.9272 MB / 0.5979 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002284/0.1771, allocations: 19.88 kB / 0.5979 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.1774, allocations: 55.5 kB / 0.598 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.1776, allocations: 75.42 kB / 0.598 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004921/0.1781, allocations: 215.1 kB / 0.5982 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004932/0.1786, allocations: 0.5505 MB / 0.5988 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003835/0.179, allocations: 247.5 kB / 0.599 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/0.1792, allocations: 207 kB / 0.5992 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.1794, allocations: 202.9 kB / 0.5994 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.162e-05/0.1795, allocations: 52 kB / 0.5995 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.921e-05/0.1796, allocations: 55.94 kB / 0.5995 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.806e-05/0.1797, allocations: 115.6 kB / 0.5996 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.1799, allocations: 234.7 kB / 0.5998 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005472/0.1804, allocations: 0.5998 MB / 0.6004 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1804, allocations: 0 / 0.6004 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.024e-06/0.1804, allocations: 0 / 0.6004 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.355e-06/0.1804, allocations: 4 kB / 0.6004 GB, free: 3.043 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.001194/0.1816, allocations: 0.7621 MB / 0.6012 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.1817, allocations: 8.031 kB / 0.6012 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.955e-05/0.1818, allocations: 78.72 kB / 0.6013 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.706e-05/0.1819, allocations: 56.28 kB / 0.6013 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005838/0.1825, allocations: 408.6 kB / 0.6017 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.1825, allocations: 29.38 kB / 0.6017 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.906e-05/0.1826, allocations: 40.36 kB / 0.6018 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006457/0.1832, allocations: 405.7 kB / 0.6022 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.1833, allocations: 3.984 kB / 0.6022 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.689e-05/0.1833, allocations: 16 kB / 0.6022 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.1833, allocations: 12 kB / 0.6022 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005436/0.1839, allocations: 263.8 kB / 0.6024 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3044/0.4883, allocations: 1.312 MB / 0.6037 GB, free: 43.45 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007061/0.489, allocations: 313.2 kB / 0.604 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.4893, allocations: 138.9 kB / 0.6042 GB, free: 43.42 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.745e-05/0.4893, allocations: 4.984 kB / 0.6042 GB, free: 43.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004024/0.4897, allocations: 176.2 kB / 0.6043 GB, free: 43.37 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 3.667e-06/0.4898, allocations: 0 / 0.6043 GB, free: 43.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0007545/0.4905, allocations: 385 kB / 0.6047 GB, free: 43.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.4906, allocations: 86.8 kB / 0.6048 GB, free: 43.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003009/0.4909, allocations: 346.9 kB / 0.6051 GB, free: 43.13 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.4909, allocations: 35.3 kB / 0.6051 GB, free: 43.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.4911, allocations: 236.3 kB / 0.6054 GB, free: 43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.289e-05/0.4911, allocations: 107.5 kB / 0.6055 GB, free: 42.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.4912, allocations: 70.53 kB / 0.6055 GB, free: 42.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.091e-05/0.4913, allocations: 349.8 kB / 0.6059 GB, free: 42.62 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.4915, allocations: 102.8 kB / 0.606 GB, free: 42.62 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/0.4918, allocations: 166 kB / 0.6061 GB, free: 42.55 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004027/0.4922, allocations: 260.2 kB / 0.6064 GB, free: 42.49 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.4922, allocations: 3.062 kB / 0.6064 GB, free: 42.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005569/0.4928, allocations: 352.9 kB / 0.6067 GB, free: 42.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.4928, allocations: 8.656 kB / 0.6067 GB, free: 42.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.4928, allocations: 2.406 kB / 0.6067 GB, free: 42.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.4928, allocations: 8.484 kB / 0.6067 GB, free: 42.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.4931, allocations: 57.78 kB / 0.6068 GB, free: 42.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.4931, allocations: 11 kB / 0.6068 GB, free: 42.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.4933, allocations: 40.42 kB / 0.6068 GB, free: 42.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.4933, allocations: 15.31 kB / 0.6069 GB, free: 42.42 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 (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.0001643/0.4935, allocations: 170.2 kB / 0.607 GB, free: 42.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.221e-05/0.4936, allocations: 41.81 kB / 0.6071 GB, free: 42.28 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.421e-05/0.4937, allocations: 52.2 kB / 0.6071 GB, free: 42.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.4937, allocations: 8.688 kB / 0.6071 GB, free: 42.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.4937, allocations: 0 / 0.6071 GB, free: 42.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.4937, allocations: 0 / 0.6071 GB, free: 42.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009061/0.4946, allocations: 0.8099 MB / 0.6079 GB, free: 41.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.4946, allocations: 0 / 0.6079 GB, free: 41.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002285/0.4948, allocations: 52.31 kB / 0.608 GB, free: 41.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.4949, allocations: 0.5156 kB / 0.608 GB, free: 41.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.4949, allocations: 7.969 kB / 0.608 GB, free: 41.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.4949, allocations: 0 / 0.608 GB, free: 41.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4949, allocations: 0 / 0.608 GB, free: 41.96 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007657/0.4957, allocations: 0.517 MB / 0.6085 GB, free: 41.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.4958, allocations: 143.7 kB / 0.6086 GB, free: 41.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.748e-05/0.4958, allocations: 6.688 kB / 0.6086 GB, free: 41.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.496, allocations: 20.61 kB / 0.6086 GB, free: 41.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.624e-05/0.4961, allocations: 25.89 kB / 0.6087 GB, free: 41.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.4961, allocations: 12.75 kB / 0.6087 GB, free: 41.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002187/0.4964, allocations: 243 kB / 0.6089 GB, free: 41.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4964, allocations: 0 / 0.6089 GB, free: 41.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000335/0.4967, allocations: 89.28 kB / 0.609 GB, free: 41.58 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 (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.0009524/0.4977, allocations: 1.061 MB / 0.61 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005672/0.4983, allocations: 281.2 kB / 0.6103 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4983, allocations: 0 / 0.6103 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002308/0.4985, allocations: 142.8 kB / 0.6104 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005816/0.4991, allocations: 84.59 kB / 0.6105 GB, free: 40.65 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004411/0.5035, allocations: 3.635 MB / 0.6141 GB, free: 38.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.5038, allocations: 0.819 MB / 0.6149 GB, free: 37.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002111/0.5041, allocations: 46.91 kB / 0.6149 GB, free: 37.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/0.5043, allocations: 140.3 kB / 0.615 GB, free: 37.5 MB / 0.4981 GB Notification: Performance of SimCode: time 1.012e-06/0.5043, allocations: 0 / 0.615 GB, free: 37.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02055/0.5248, allocations: 7.15 MB / 0.622 GB, free: 37.01 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/0.525, allocations: 240.4 kB / 0.6222 GB, free: 36.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.797/2.322, allocations: 3.703 kB / 0.6222 GB, free: 36.75 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/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)