Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.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: translateModel(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 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: 200 kB / 16.79 MB, free: 6.809 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.314/1.314, allocations: 222.9 MB / 240.5 MB, free: 4.508 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.9856/0.9856, allocations: 143.1 MB / 433.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 55.91 kB / 0.5141 GB, free: 12.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2091, allocations: 82.04 MB / 0.5943 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004556/0.2137, allocations: 3.011 MB / 0.5972 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001815/0.2155, allocations: 0.8769 MB / 0.5981 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002607/0.2158, allocations: 15.94 kB / 0.5981 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.2161, allocations: 47.58 kB / 0.5981 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.2163, allocations: 71.42 kB / 0.5982 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004849/0.2168, allocations: 203.7 kB / 0.5984 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004457/0.2173, allocations: 459.2 kB / 0.5988 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003414/0.2176, allocations: 201.2 kB / 0.599 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002258/0.2178, allocations: 155.1 kB / 0.5992 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.2181, allocations: 159.1 kB / 0.5993 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.233e-05/0.2181, allocations: 20 kB / 0.5993 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.719e-05/0.2182, allocations: 20 kB / 0.5994 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.2183, allocations: 79.56 kB / 0.5994 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001713/0.2185, allocations: 167 kB / 0.5996 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004142/0.2189, allocations: 427.2 kB / 0.6 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.219, allocations: 4 kB / 0.6 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.219, allocations: 0 / 0.6 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.219, allocations: 0 / 0.6 GB, free: 4.211 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.00134/0.2203, allocations: 0.7128 MB / 0.6007 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.2204, allocations: 11.97 kB / 0.6007 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.63e-05/0.2205, allocations: 48.38 kB / 0.6008 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006472/0.2211, allocations: 388.4 kB / 0.6011 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.943e-05/0.2212, allocations: 21.03 kB / 0.6011 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.148e-05/0.2212, allocations: 32.31 kB / 0.6012 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006176/0.2219, allocations: 341.5 kB / 0.6015 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.2219, allocations: 0 / 0.6015 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/0.2219, allocations: 15.94 kB / 0.6015 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.222, allocations: 8 kB / 0.6015 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004655/0.2224, allocations: 206.2 kB / 0.6017 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.224, allocations: 1.197 MB / 0.6029 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005993/0.2246, allocations: 238.7 kB / 0.6031 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.2249, allocations: 112.8 kB / 0.6032 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.2249, allocations: 0 / 0.6032 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.2249, allocations: 34.94 kB / 0.6033 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 1.122e-06/0.2249, allocations: 0 / 0.6033 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22): time 0.000668/0.2256, allocations: 296.2 kB / 0.6035 GB, free: 376 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.646e-05/0.2257, allocations: 110.8 kB / 0.6036 GB, free: 240 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3225/0.5482, allocations: 334 kB / 0.604 GB, free: 44.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.749e-05/0.5483, allocations: 33.14 kB / 0.604 GB, free: 44.24 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.5485, allocations: 221.1 kB / 0.6042 GB, free: 44.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.823e-05/0.5485, allocations: 75.75 kB / 0.6043 GB, free: 44.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.501e-05/0.5486, allocations: 50.02 kB / 0.6043 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.7e-05/0.5487, allocations: 349.1 kB / 0.6047 GB, free: 43.81 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.5489, allocations: 76.56 kB / 0.6047 GB, free: 43.81 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.5491, allocations: 140.6 kB / 0.6049 GB, free: 43.74 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/0.5495, allocations: 213 kB / 0.6051 GB, free: 43.69 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.5495, allocations: 0.5312 kB / 0.6051 GB, free: 43.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004929/0.55, allocations: 283.9 kB / 0.6053 GB, free: 43.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.55, allocations: 7.281 kB / 0.6053 GB, free: 43.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.55, allocations: 2.656 kB / 0.6053 GB, free: 43.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.55, allocations: 2.688 kB / 0.6053 GB, free: 43.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.5503, allocations: 54.48 kB / 0.6054 GB, free: 43.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.5503, allocations: 5.906 kB / 0.6054 GB, free: 43.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.5505, allocations: 35.14 kB / 0.6054 GB, free: 43.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.5505, allocations: 9.047 kB / 0.6054 GB, free: 43.63 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: 3 (con.hys.y,$PRE.con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001702/0.5507, allocations: 165.3 kB / 0.6056 GB, free: 43.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.711e-05/0.5508, allocations: 37.5 kB / 0.6056 GB, free: 43.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.757e-05/0.5509, allocations: 39.78 kB / 0.6057 GB, free: 43.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.5509, allocations: 0 / 0.6057 GB, free: 43.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.5509, allocations: 3.406 kB / 0.6057 GB, free: 43.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.5509, allocations: 3.844 kB / 0.6057 GB, free: 43.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.5513, allocations: 391.8 kB / 0.6061 GB, free: 43.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.5513, allocations: 3.797 kB / 0.6061 GB, free: 43.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002181/0.5515, allocations: 43.22 kB / 0.6061 GB, free: 43.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5515, allocations: 1.922 kB / 0.6061 GB, free: 43.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.5516, allocations: 6.812 kB / 0.6061 GB, free: 43.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.5516, allocations: 0.625 kB / 0.6061 GB, free: 43.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5516, allocations: 3.406 kB / 0.6061 GB, free: 43.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006178/0.5522, allocations: 425.3 kB / 0.6065 GB, free: 43.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.596e-05/0.5523, allocations: 135.2 kB / 0.6067 GB, free: 43.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.259e-05/0.5524, allocations: 6.469 kB / 0.6067 GB, free: 43.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.5525, allocations: 18.69 kB / 0.6067 GB, free: 43.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.152e-05/0.5526, allocations: 20.56 kB / 0.6067 GB, free: 43.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.5526, allocations: 8.672 kB / 0.6067 GB, free: 43.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001919/0.5528, allocations: 241.8 kB / 0.6069 GB, free: 42.94 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5528, allocations: 0 / 0.6069 GB, free: 42.94 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003146/0.5532, allocations: 62.47 kB / 0.607 GB, free: 42.93 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 9.367e-05/0.5533, allocations: 107.8 kB / 0.6071 GB, free: 42.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004418/0.5537, allocations: 204.4 kB / 0.6073 GB, free: 42.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5537, allocations: 0 / 0.6073 GB, free: 42.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.5539, allocations: 103.8 kB / 0.6074 GB, free: 42.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005966/0.5545, allocations: 74.78 kB / 0.6075 GB, free: 42.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.5558, allocations: 0.8719 MB / 0.6083 GB, free: 42.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.556, allocations: 0.7925 MB / 0.6091 GB, free: 41.64 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.5561, allocations: 29.95 kB / 0.6091 GB, free: 41.63 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.5561, allocations: 5.594 kB / 0.6091 GB, free: 41.63 MB / 0.4981 GB Notification: Performance of Templates: time 0.00543/0.5615, allocations: 4.202 MB / 0.6132 GB, free: 41.36 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & ./BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)