Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.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.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 105 kB / 16.41 MB, free: 6.465 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.001282/0.001282, allocations: 187 kB / 17.34 MB, free: 5.719 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.37/1.37, allocations: 222.9 MB / 241 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.8423/0.8423, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 65.02 kB / 0.5962 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1668, allocations: 82.03 MB / 0.6763 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.00499/0.1719, allocations: 4.102 MB / 0.6803 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002511/0.1744, allocations: 1.325 MB / 0.6816 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003801/0.1748, allocations: 19.94 kB / 0.6816 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.1752, allocations: 130.7 kB / 0.6817 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003205/0.1755, allocations: 182.4 kB / 0.6819 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008223/0.1763, allocations: 425.4 kB / 0.6823 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0008302/0.1772, allocations: 0.9553 MB / 0.6832 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005986/0.1778, allocations: 458.1 kB / 0.6837 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003596/0.1781, allocations: 334.7 kB / 0.684 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000328/0.1785, allocations: 338.3 kB / 0.6843 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.1786, allocations: 92 kB / 0.6844 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.1787, allocations: 92 kB / 0.6845 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.1789, allocations: 171.5 kB / 0.6846 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002896/0.1792, allocations: 398 kB / 0.685 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009216/0.1801, allocations: 1.125 MB / 0.6861 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.1801, allocations: 0 / 0.6861 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1801, allocations: 3.938 kB / 0.6861 GB, free: 236 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.1801, allocations: 0 / 0.6861 GB, free: 236 kB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001763/0.1819, allocations: 1.069 MB / 0.6872 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.1819, allocations: 12.03 kB / 0.6872 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.1821, allocations: 87.91 kB / 0.6873 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008717/0.183, allocations: 0.5572 MB / 0.6878 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.183, allocations: 45.69 kB / 0.6879 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.738e-05/0.1831, allocations: 64.38 kB / 0.6879 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.1842, allocations: 0.604 MB / 0.6885 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.1842, allocations: 7.922 kB / 0.6885 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.498e-05/0.1843, allocations: 23.98 kB / 0.6885 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.1843, allocations: 20 kB / 0.6886 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009229/0.1852, allocations: 453 kB / 0.689 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002607/0.1878, allocations: 1.993 MB / 0.6909 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008803/0.1887, allocations: 442.1 kB / 0.6914 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004289/0.1892, allocations: 246.1 kB / 0.6916 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.1892, allocations: 8.375 kB / 0.6916 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005243/0.1897, allocations: 269.2 kB / 0.6919 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=49): time 2.215e-06/0.1898, allocations: 0 / 0.6919 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=49): time 0.001263/0.191, allocations: 0.5845 MB / 0.6924 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.1911, allocations: 55.84 kB / 0.6925 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004653/0.1915, allocations: 450 kB / 0.6929 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.147e-05/0.1916, allocations: 29.7 kB / 0.6929 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.1918, allocations: 328.3 kB / 0.6932 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.192, allocations: 165.5 kB / 0.6934 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.1921, allocations: 98.25 kB / 0.6935 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1922, allocations: 366.8 kB / 0.6938 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003787/0.1926, allocations: 165 kB / 0.694 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004211/0.1931, allocations: 253.8 kB / 0.6942 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007784/0.1938, allocations: 448 kB / 0.6947 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1939, allocations: 4 kB / 0.6947 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001011/0.1949, allocations: 0.5585 MB / 0.6952 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/0.1949, allocations: 37.62 kB / 0.6953 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.1949, allocations: 4 kB / 0.6953 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.195, allocations: 4 kB / 0.6953 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004817/0.1955, allocations: 115.8 kB / 0.6954 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.1955, allocations: 8.25 kB / 0.6954 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003133/0.1958, allocations: 55.52 kB / 0.6954 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-05/0.1958, allocations: 23.98 kB / 0.6955 GB, free: 6.312 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0002516/0.1961, allocations: 212.2 kB / 0.6957 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.078e-05/0.1962, allocations: 59.19 kB / 0.6957 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.1963, allocations: 65.58 kB / 0.6958 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.1963, allocations: 4 kB / 0.6958 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.1964, allocations: 0 / 0.6958 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.1964, allocations: 4 kB / 0.6958 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/0.198, allocations: 1.178 MB / 0.6969 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1981, allocations: 0 / 0.6969 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004685/0.1985, allocations: 95.88 kB / 0.697 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.1985, allocations: 4 kB / 0.697 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.567e-05/0.1986, allocations: 19.98 kB / 0.6971 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.1986, allocations: 0 / 0.6971 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1986, allocations: 7.922 kB / 0.6971 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.1999, allocations: 0.7535 MB / 0.6978 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.2001, allocations: 172.3 kB / 0.698 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.555e-05/0.2002, allocations: 15.94 kB / 0.698 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/0.2005, allocations: 23.97 kB / 0.698 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.047e-05/0.2005, allocations: 36.39 kB / 0.698 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.2006, allocations: 15.94 kB / 0.6981 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003174/0.2009, allocations: 306.9 kB / 0.6983 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2009, allocations: 0 / 0.6983 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004307/0.2013, allocations: 147.4 kB / 0.6985 GB, free: 3.117 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001618/0.2015, allocations: 115.2 kB / 0.6986 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009112/0.2024, allocations: 481 kB / 0.6991 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2024, allocations: 0.5 kB / 0.6991 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003987/0.2029, allocations: 218.4 kB / 0.6993 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007485/0.2036, allocations: 158.2 kB / 0.6994 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/0.2061, allocations: 1.359 MB / 0.7007 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.2065, allocations: 0.8898 MB / 0.7016 GB, free: 15.85 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.2067, allocations: 47.42 kB / 0.7017 GB, free: 15.8 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.2067, allocations: 4 kB / 0.7017 GB, free: 15.8 MB / 0.545 GB Notification: Performance of Templates: time 0.01017/0.2169, allocations: 7.663 MB / 0.7091 GB, free: 8.168 MB / 0.545 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)