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: translateModel(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008155/0.008155, allocations: 98.27 kB / 15.73 MB, free: 6.012 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.001642/0.001642, allocations: 196.2 kB / 16.68 MB, free: 5.93 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.9282/0.9282, allocations: 143 MB / 433.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 67.67 kB / 0.5955 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.2004, allocations: 82.01 MB / 0.6756 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004792/0.2052, allocations: 3.153 MB / 0.6787 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002158/0.2074, allocations: 0.9584 MB / 0.6796 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003165/0.2078, allocations: 15.94 kB / 0.6796 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002766/0.208, allocations: 75.19 kB / 0.6797 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.2083, allocations: 99.09 kB / 0.6798 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006034/0.2089, allocations: 238.6 kB / 0.68 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005301/0.2095, allocations: 0.5543 MB / 0.6806 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004137/0.2099, allocations: 243.5 kB / 0.6808 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002413/0.2101, allocations: 207.1 kB / 0.681 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.2104, allocations: 206.9 kB / 0.6812 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.275e-05/0.2105, allocations: 52 kB / 0.6812 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.768e-05/0.2105, allocations: 52 kB / 0.6813 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.722e-05/0.2106, allocations: 103.6 kB / 0.6814 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002089/0.2109, allocations: 250.6 kB / 0.6816 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006259/0.2115, allocations: 0.6145 MB / 0.6822 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2115, allocations: 0 / 0.6822 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.707e-06/0.2115, allocations: 3.984 kB / 0.6822 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.2115, allocations: 4 kB / 0.6822 GB, free: 3.523 MB / 0.5137 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.001219/0.2128, allocations: 0.7829 MB / 0.683 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.2128, allocations: 8.031 kB / 0.683 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.2129, allocations: 64.56 kB / 0.6831 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006479/0.2136, allocations: 416.9 kB / 0.6835 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/0.2136, allocations: 33.38 kB / 0.6835 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.34e-05/0.2137, allocations: 36.38 kB / 0.6835 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006708/0.2144, allocations: 401.9 kB / 0.6839 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.2144, allocations: 4 kB / 0.6839 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.386e-05/0.2144, allocations: 12 kB / 0.6839 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.2144, allocations: 12 kB / 0.6839 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005826/0.215, allocations: 259.8 kB / 0.6842 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/0.2168, allocations: 1.309 MB / 0.6855 GB, free: 28 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007139/0.2175, allocations: 311.4 kB / 0.6858 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/0.2178, allocations: 141.4 kB / 0.6859 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.476e-05/0.2178, allocations: 4 kB / 0.6859 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003408/0.2182, allocations: 178 kB / 0.6861 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.723e-06/0.2182, allocations: 4 kB / 0.6861 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.0008296/0.219, allocations: 382.8 kB / 0.6864 GB, free: 15 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.39e-05/0.2191, allocations: 85.11 kB / 0.6865 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003567/0.2195, allocations: 353.6 kB / 0.6869 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.2195, allocations: 37.64 kB / 0.6869 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.2197, allocations: 232.8 kB / 0.6871 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.952e-05/0.2198, allocations: 123.4 kB / 0.6872 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.2199, allocations: 66.08 kB / 0.6873 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.22, allocations: 354.8 kB / 0.6876 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.2203, allocations: 96.7 kB / 0.6877 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/0.2205, allocations: 168.4 kB / 0.6879 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004563/0.221, allocations: 263.8 kB / 0.6881 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.221, allocations: 3.938 kB / 0.6881 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005931/0.2216, allocations: 350.7 kB / 0.6885 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.2216, allocations: 4 kB / 0.6885 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.2217, allocations: 4 kB / 0.6885 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.2217, allocations: 4.188 kB / 0.6885 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.222, allocations: 67.91 kB / 0.6885 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.222, allocations: 4 kB / 0.6885 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.2222, allocations: 39.72 kB / 0.6886 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.2222, allocations: 20 kB / 0.6886 GB, free: 12.67 MB / 0.5294 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.0001943/0.2224, allocations: 182.3 kB / 0.6888 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.549e-05/0.2225, allocations: 35.77 kB / 0.6888 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.856e-05/0.2226, allocations: 52.25 kB / 0.6889 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2226, allocations: 0 / 0.6889 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.2226, allocations: 4 kB / 0.6889 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.2226, allocations: 0 / 0.6889 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.2237, allocations: 0.8081 MB / 0.6897 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2238, allocations: 0 / 0.6897 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.224, allocations: 47.97 kB / 0.6897 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.224, allocations: 0 / 0.6897 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/0.2241, allocations: 12 kB / 0.6897 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.2241, allocations: 0 / 0.6897 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2241, allocations: 3.938 kB / 0.6897 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008231/0.2249, allocations: 0.517 MB / 0.6902 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.225, allocations: 148.7 kB / 0.6904 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.345e-05/0.2251, allocations: 7.984 kB / 0.6904 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.2253, allocations: 20.05 kB / 0.6904 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.992e-05/0.2254, allocations: 23.97 kB / 0.6904 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.2254, allocations: 8 kB / 0.6904 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002488/0.2256, allocations: 243.2 kB / 0.6907 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2256, allocations: 3.938 kB / 0.6907 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003495/0.226, allocations: 87.78 kB / 0.6907 GB, free: 10.38 MB / 0.5294 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.0001432/0.2261, allocations: 116.7 kB / 0.6909 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005672/0.2267, allocations: 264 kB / 0.6911 GB, free: 10 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2267, allocations: 0 / 0.6911 GB, free: 10 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002677/0.227, allocations: 135.8 kB / 0.6912 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005381/0.2276, allocations: 88.62 kB / 0.6913 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.2291, allocations: 0.808 MB / 0.6921 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.2296, allocations: 0.8191 MB / 0.6929 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001693/0.2297, allocations: 43.27 kB / 0.6929 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.901e-05/0.2298, allocations: 31.44 kB / 0.693 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of SimCode: time 4.61e-07/0.2298, allocations: 0 / 0.693 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of Templates: time 0.008141/0.238, allocations: 3.706 MB / 0.6966 GB, free: 4.355 MB / 0.5294 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)