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.001472/0.001472, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001625/0.001625, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.13 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.8441/0.8441, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 64.8 kB / 0.5962 GB, free: 12.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1839, allocations: 82.03 MB / 0.6763 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005102/0.1891, allocations: 3.132 MB / 0.6793 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00246/0.1916, allocations: 0.9661 MB / 0.6803 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004849/0.1921, allocations: 11.94 kB / 0.6803 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003383/0.1924, allocations: 67.27 kB / 0.6804 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003961/0.1929, allocations: 103.1 kB / 0.6805 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007411/0.1937, allocations: 242.7 kB / 0.6807 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007845/0.1944, allocations: 0.5465 MB / 0.6812 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005092/0.195, allocations: 255.5 kB / 0.6815 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003663/0.1953, allocations: 207.1 kB / 0.6817 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003265/0.1957, allocations: 210.9 kB / 0.6819 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.1958, allocations: 52 kB / 0.6819 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.755e-05/0.1959, allocations: 52 kB / 0.682 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.196, allocations: 111.5 kB / 0.6821 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002391/0.1963, allocations: 238.7 kB / 0.6823 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006384/0.1969, allocations: 0.6071 MB / 0.6829 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1969, allocations: 0 / 0.6829 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.883e-06/0.1969, allocations: 4 kB / 0.6829 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.1969, allocations: 0 / 0.6829 GB, free: 3.559 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.001278/0.1982, allocations: 0.7752 MB / 0.6837 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.1983, allocations: 8.031 kB / 0.6837 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.1984, allocations: 64.2 kB / 0.6837 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007889/0.1992, allocations: 416.6 kB / 0.6841 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.1993, allocations: 29.38 kB / 0.6841 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.181e-05/0.1993, allocations: 36.38 kB / 0.6842 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007277/0.2001, allocations: 405.9 kB / 0.6846 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.2001, allocations: 0 / 0.6846 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.565e-05/0.2002, allocations: 19.98 kB / 0.6846 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.2002, allocations: 8 kB / 0.6846 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005432/0.2007, allocations: 259.8 kB / 0.6848 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.2025, allocations: 1.312 MB / 0.6861 GB, free: 68 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006959/0.2032, allocations: 312.7 kB / 0.6864 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002612/0.2034, allocations: 141.5 kB / 0.6866 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.2035, allocations: 4 kB / 0.6866 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003237/0.2038, allocations: 170.7 kB / 0.6867 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.773e-06/0.2038, allocations: 0 / 0.6867 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.0007936/0.2046, allocations: 390.5 kB / 0.6871 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.2047, allocations: 85.11 kB / 0.6872 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003492/0.205, allocations: 349.6 kB / 0.6875 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.2051, allocations: 33.7 kB / 0.6875 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.2053, allocations: 232.4 kB / 0.6878 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.385e-05/0.2054, allocations: 110.5 kB / 0.6879 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.2055, allocations: 73.98 kB / 0.6879 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.2056, allocations: 354.8 kB / 0.6883 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.2059, allocations: 100.7 kB / 0.6884 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.2061, allocations: 164.4 kB / 0.6885 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004413/0.2066, allocations: 263.7 kB / 0.6888 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.2066, allocations: 8 kB / 0.6888 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006061/0.2072, allocations: 346.5 kB / 0.6891 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.2072, allocations: 8 kB / 0.6891 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.2073, allocations: 3.984 kB / 0.6891 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.2073, allocations: 4 kB / 0.6891 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/0.2075, allocations: 63.91 kB / 0.6892 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.2076, allocations: 12.12 kB / 0.6892 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.2078, allocations: 35.67 kB / 0.6892 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.53e-05/0.2078, allocations: 16 kB / 0.6893 GB, free: 12.72 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.000192/0.208, allocations: 170.4 kB / 0.6894 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.384e-05/0.2081, allocations: 39.52 kB / 0.6895 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.2082, allocations: 48.25 kB / 0.6895 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.2082, allocations: 4 kB / 0.6895 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.2082, allocations: 4 kB / 0.6895 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.2082, allocations: 0 / 0.6895 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.2093, allocations: 0.808 MB / 0.6903 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2093, allocations: 7.938 kB / 0.6903 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/0.2096, allocations: 51.91 kB / 0.6904 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2096, allocations: 0 / 0.6904 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.2096, allocations: 8 kB / 0.6904 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2097, allocations: 0 / 0.6904 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2097, allocations: 4 kB / 0.6904 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008062/0.2105, allocations: 0.5168 MB / 0.6909 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.2106, allocations: 140.6 kB / 0.691 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.368e-05/0.2107, allocations: 7.984 kB / 0.691 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.2109, allocations: 20.05 kB / 0.691 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.926e-05/0.211, allocations: 23.97 kB / 0.6911 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.211, allocations: 8 kB / 0.6911 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002396/0.2112, allocations: 243.2 kB / 0.6913 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2112, allocations: 0 / 0.6913 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003496/0.2116, allocations: 95.62 kB / 0.6914 GB, free: 10.44 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.0001392/0.2117, allocations: 109.4 kB / 0.6915 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005353/0.2123, allocations: 268 kB / 0.6918 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.2123, allocations: 4 kB / 0.6918 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002592/0.2126, allocations: 131.8 kB / 0.6919 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005245/0.2131, allocations: 93.44 kB / 0.692 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.2146, allocations: 0.8269 MB / 0.6928 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.215, allocations: 0.8113 MB / 0.6936 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.974e-05/0.2151, allocations: 31.44 kB / 0.6936 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of SimCode: time 4.71e-07/0.2151, allocations: 7.938 kB / 0.6936 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of Templates: time 0.007591/0.2227, allocations: 4.871 MB / 0.6984 GB, free: 3.242 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)