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.001119/0.001119, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001624/0.001624, allocations: 190.8 kB / 16.14 MB, free: 6.688 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.4/1.4, allocations: 222.9 MB / 239.8 MB, free: 4.547 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 0.9809/0.9809, allocations: 143 MB / 433 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 55.91 kB / 0.5136 GB, free: 12.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.195, allocations: 82.05 MB / 0.5937 GB, free: 10 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005217/0.2002, allocations: 3.158 MB / 0.5968 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002029/0.2023, allocations: 0.935 MB / 0.5977 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003127/0.2026, allocations: 11.94 kB / 0.5977 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000264/0.2029, allocations: 51.56 kB / 0.5978 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002235/0.2031, allocations: 75.36 kB / 0.5979 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006949/0.2039, allocations: 218.7 kB / 0.5981 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006035/0.2045, allocations: 0.5074 MB / 0.5986 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004215/0.2049, allocations: 235.3 kB / 0.5988 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000243/0.2052, allocations: 171.1 kB / 0.599 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002374/0.2054, allocations: 190.9 kB / 0.5991 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.805e-05/0.2055, allocations: 28 kB / 0.5992 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.503e-05/0.2056, allocations: 24 kB / 0.5992 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.855e-05/0.2056, allocations: 79.62 kB / 0.5993 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002/0.2059, allocations: 218.6 kB / 0.5995 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005141/0.2064, allocations: 0.5686 MB / 0.6 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2064, allocations: 0 / 0.6 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.62e-07/0.2064, allocations: 0 / 0.6 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.2064, allocations: 0 / 0.6 GB, free: 3.508 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.001407/0.2078, allocations: 0.7738 MB / 0.6008 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.2079, allocations: 12.03 kB / 0.6008 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.165e-05/0.208, allocations: 74.7 kB / 0.6009 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.2081, allocations: 56.28 kB / 0.6009 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006303/0.2088, allocations: 412.6 kB / 0.6013 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/0.2088, allocations: 29.38 kB / 0.6013 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.161e-05/0.2089, allocations: 40.38 kB / 0.6014 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006771/0.2095, allocations: 397.7 kB / 0.6018 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.2096, allocations: 0 / 0.6018 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/0.2096, allocations: 20 kB / 0.6018 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.2096, allocations: 8 kB / 0.6018 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005518/0.2102, allocations: 263.8 kB / 0.602 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3378/0.548, allocations: 1.318 MB / 0.6033 GB, free: 43.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008364/0.5488, allocations: 310.2 kB / 0.6036 GB, free: 43.94 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.5491, allocations: 140.4 kB / 0.6038 GB, free: 43.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.5491, allocations: 2.938 kB / 0.6038 GB, free: 43.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003829/0.5495, allocations: 174.7 kB / 0.6039 GB, free: 43.88 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.935e-06/0.5495, allocations: 0.5312 kB / 0.6039 GB, free: 43.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0007786/0.5503, allocations: 382.8 kB / 0.6043 GB, free: 43.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.5504, allocations: 84.66 kB / 0.6044 GB, free: 43.74 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003305/0.5507, allocations: 349.9 kB / 0.6047 GB, free: 43.64 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.5508, allocations: 41.45 kB / 0.6047 GB, free: 43.61 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.5509, allocations: 235.6 kB / 0.605 GB, free: 43.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.664e-05/0.551, allocations: 100.7 kB / 0.6051 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.702e-05/0.5511, allocations: 72.61 kB / 0.6051 GB, free: 43.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.267e-05/0.5511, allocations: 350.1 kB / 0.6055 GB, free: 43.13 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.5513, allocations: 100.4 kB / 0.6056 GB, free: 43.13 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.5516, allocations: 169.6 kB / 0.6057 GB, free: 43.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003935/0.552, allocations: 263.8 kB / 0.606 GB, free: 43.01 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.552, allocations: 0 / 0.606 GB, free: 43.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000554/0.5525, allocations: 348 kB / 0.6063 GB, free: 42.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.5526, allocations: 6.25 kB / 0.6063 GB, free: 42.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.5526, allocations: 3.062 kB / 0.6063 GB, free: 42.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.5526, allocations: 6.125 kB / 0.6063 GB, free: 42.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.5529, allocations: 62.84 kB / 0.6064 GB, free: 42.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.5529, allocations: 2.875 kB / 0.6064 GB, free: 42.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.5531, allocations: 45.11 kB / 0.6064 GB, free: 42.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.5532, allocations: 17.34 kB / 0.6064 GB, free: 42.93 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.0001777/0.5533, allocations: 173.5 kB / 0.6066 GB, free: 42.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.5534, allocations: 36.91 kB / 0.6066 GB, free: 42.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.746e-05/0.5535, allocations: 47.88 kB / 0.6067 GB, free: 42.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.5535, allocations: 5.562 kB / 0.6067 GB, free: 42.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.5535, allocations: 0.5625 kB / 0.6067 GB, free: 42.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.5535, allocations: 8.453 kB / 0.6067 GB, free: 42.79 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009815/0.5545, allocations: 0.8053 MB / 0.6075 GB, free: 42.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.5545, allocations: 0 / 0.6075 GB, free: 42.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.5548, allocations: 50.17 kB / 0.6075 GB, free: 42.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.5548, allocations: 2.781 kB / 0.6075 GB, free: 42.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.5548, allocations: 13.81 kB / 0.6076 GB, free: 42.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.5548, allocations: 4.406 kB / 0.6076 GB, free: 42.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5548, allocations: 0 / 0.6076 GB, free: 42.47 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007294/0.5556, allocations: 0.5108 MB / 0.6081 GB, free: 42.31 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.5557, allocations: 140.5 kB / 0.6082 GB, free: 42.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.548e-05/0.5557, allocations: 10.19 kB / 0.6082 GB, free: 42.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.5559, allocations: 23.25 kB / 0.6082 GB, free: 42.19 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.684e-05/0.556, allocations: 27.38 kB / 0.6083 GB, free: 42.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.556, allocations: 7.219 kB / 0.6083 GB, free: 42.19 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002043/0.5562, allocations: 243.1 kB / 0.6085 GB, free: 42.11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5562, allocations: 0 / 0.6085 GB, free: 42.11 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003448/0.5566, allocations: 89.78 kB / 0.6086 GB, free: 42.09 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.0008968/0.5575, allocations: 1.061 MB / 0.6096 GB, free: 41.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004764/0.558, allocations: 272 kB / 0.6099 GB, free: 41.24 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.558, allocations: 0 / 0.6099 GB, free: 41.24 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.5582, allocations: 139.8 kB / 0.61 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005072/0.5587, allocations: 77.44 kB / 0.6101 GB, free: 41.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00455/0.5633, allocations: 3.637 MB / 0.6136 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.5635, allocations: 0.8137 MB / 0.6144 GB, free: 38.15 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002046/0.5638, allocations: 45.53 kB / 0.6145 GB, free: 38.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.5639, allocations: 143.8 kB / 0.6146 GB, free: 38.04 MB / 0.4981 GB Notification: Performance of SimCode: time 1.332e-06/0.564, allocations: 0 / 0.6146 GB, free: 38.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01676/0.5807, allocations: 6.959 MB / 0.6214 GB, free: 37.56 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001524/0.5809, allocations: 231.4 kB / 0.6216 GB, free: 37.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/2.348, allocations: 0 / 0.6216 GB, free: 37.3 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)