Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.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.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 105.9 kB / 16.41 MB, free: 6.492 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.001573/0.001573, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.17 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.8812/0.8812, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.59 kB / 0.5962 GB, free: 12.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1561, allocations: 82.03 MB / 0.6763 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID): time 0.00495/0.1611, allocations: 3.704 MB / 0.6799 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002695/0.1638, allocations: 1.336 MB / 0.6812 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004511/0.1643, allocations: 23.88 kB / 0.6812 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003586/0.1647, allocations: 126.6 kB / 0.6813 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005288/0.1653, allocations: 174.5 kB / 0.6815 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.1665, allocations: 0.574 MB / 0.6821 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001046/0.1675, allocations: 0.9604 MB / 0.683 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000552/0.1681, allocations: 353.6 kB / 0.6833 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000475/0.1686, allocations: 370.3 kB / 0.6837 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003784/0.169, allocations: 354.1 kB / 0.684 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.1691, allocations: 76 kB / 0.6841 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.1692, allocations: 80 kB / 0.6842 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.1693, allocations: 183.3 kB / 0.6844 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002878/0.1696, allocations: 373.7 kB / 0.6847 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008551/0.1705, allocations: 0.93 MB / 0.6856 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1705, allocations: 0 / 0.6856 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1705, allocations: 0 / 0.6856 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.1705, allocations: 0 / 0.6856 GB, free: 0.8008 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002052/0.1726, allocations: 1.183 MB / 0.6868 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1726, allocations: 8.031 kB / 0.6868 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.1728, allocations: 95.81 kB / 0.6869 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009612/0.1738, allocations: 0.626 MB / 0.6875 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.1739, allocations: 92.97 kB / 0.6876 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.418e-05/0.174, allocations: 52.38 kB / 0.6876 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.1751, allocations: 0.6119 MB / 0.6882 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.1751, allocations: 4 kB / 0.6882 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.583e-05/0.1751, allocations: 24 kB / 0.6882 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.1752, allocations: 12 kB / 0.6883 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009387/0.1761, allocations: 423.6 kB / 0.6887 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002728/0.1788, allocations: 2.094 MB / 0.6907 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/0.18, allocations: 0.4998 MB / 0.6912 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004496/0.1805, allocations: 222.3 kB / 0.6914 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.223e-05/0.1806, allocations: 7.984 kB / 0.6914 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006211/0.1812, allocations: 278 kB / 0.6917 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=45): time 3.025e-06/0.1812, allocations: 3.938 kB / 0.6917 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45): time 0.001447/0.1827, allocations: 0.6073 MB / 0.6923 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.1827, allocations: 88.86 kB / 0.6924 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007297/0.1835, allocations: 0.6139 MB / 0.693 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.196e-05/0.1835, allocations: 33.7 kB / 0.693 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002878/0.1838, allocations: 356.8 kB / 0.6933 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.184, allocations: 153.7 kB / 0.6935 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.1841, allocations: 94.25 kB / 0.6936 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.1842, allocations: 326 kB / 0.6939 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004292/0.1847, allocations: 183 kB / 0.6941 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004774/0.1852, allocations: 281.3 kB / 0.6943 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000889/0.1861, allocations: 481.8 kB / 0.6948 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.1861, allocations: 7.938 kB / 0.6948 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001174/0.1873, allocations: 0.5945 MB / 0.6954 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.09e-05/0.1873, allocations: 33.7 kB / 0.6954 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.1873, allocations: 4 kB / 0.6954 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.1873, allocations: 7.984 kB / 0.6954 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004889/0.1878, allocations: 111.8 kB / 0.6955 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.1879, allocations: 7.938 kB / 0.6955 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003965/0.1883, allocations: 63.42 kB / 0.6956 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.1883, allocations: 24.11 kB / 0.6956 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005674/0.1889, allocations: 309.8 kB / 0.6959 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004421/0.1893, allocations: 264.3 kB / 0.6962 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000803/0.1902, allocations: 453.9 kB / 0.6966 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.033e-06/0.1902, allocations: 0 / 0.6966 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.00107/0.1912, allocations: 0.5786 MB / 0.6972 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.275e-05/0.1913, allocations: 41.62 kB / 0.6972 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1913, allocations: 4.312 kB / 0.6972 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.173e-06/0.1913, allocations: 8 kB / 0.6972 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004321/0.1917, allocations: 99.89 kB / 0.6973 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.1918, allocations: 11.92 kB / 0.6973 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003812/0.1922, allocations: 43.67 kB / 0.6974 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/0.1922, allocations: 20 kB / 0.6974 GB, free: 4.234 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0002103/0.1924, allocations: 214.7 kB / 0.6976 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.1925, allocations: 86.98 kB / 0.6977 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001834/0.1927, allocations: 75.22 kB / 0.6977 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.1927, allocations: 8 kB / 0.6977 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.1927, allocations: 0 / 0.6977 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.1927, allocations: 3.984 kB / 0.6977 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000696/0.1934, allocations: 0.6219 MB / 0.6984 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1935, allocations: 0 / 0.6984 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004681/0.1939, allocations: 79.89 kB / 0.6984 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.1939, allocations: 7.984 kB / 0.6984 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.194, allocations: 12 kB / 0.6984 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.194, allocations: 0 / 0.6984 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.194, allocations: 0 / 0.6984 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.1954, allocations: 0.7275 MB / 0.6992 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002262/0.1957, allocations: 196 kB / 0.6993 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.031e-05/0.1958, allocations: 12 kB / 0.6994 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000394/0.1962, allocations: 31.95 kB / 0.6994 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.67e-05/0.1963, allocations: 35.89 kB / 0.6994 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-05/0.1963, allocations: 15.94 kB / 0.6994 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005109/0.1968, allocations: 439 kB / 0.6999 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1968, allocations: 0 / 0.6999 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006249/0.1975, allocations: 211.4 kB / 0.7001 GB, free: 1.391 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * 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.0001666/0.1976, allocations: 111.3 kB / 0.7002 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001576/0.1992, allocations: 0.7854 MB / 0.7009 GB, free: 476 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.1992, allocations: 0 / 0.7009 GB, free: 476 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004507/0.1997, allocations: 216 kB / 0.7011 GB, free: 260 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008919/0.2006, allocations: 220.8 kB / 0.7013 GB, free: 52 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.2027, allocations: 1.205 MB / 0.7025 GB, free: 14.81 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004537/0.2032, allocations: 0.918 MB / 0.7034 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.2034, allocations: 51.42 kB / 0.7035 GB, free: 13.81 MB / 0.545 GB Notification: Performance of SimCode: time 1.062e-06/0.2034, allocations: 0 / 0.7035 GB, free: 13.81 MB / 0.545 GB Notification: Performance of Templates: time 0.01357/0.217, allocations: 8.824 MB / 0.7121 GB, free: 5.027 MB / 0.545 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1)