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.001157/0.001156, allocations: 100.4 kB / 16.41 MB, free: 5.977 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.001159/0.001159, allocations: 192.8 kB / 17.34 MB, free: 5.586 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.361/1.361, 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.8807/0.8807, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 64.64 kB / 0.5962 GB, free: 12.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1606, allocations: 82.03 MB / 0.6763 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID): time 0.005191/0.1658, allocations: 3.697 MB / 0.6799 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002711/0.1686, allocations: 1.332 MB / 0.6812 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005808/0.1692, allocations: 27.88 kB / 0.6812 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003784/0.1695, allocations: 126.6 kB / 0.6813 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006391/0.1702, allocations: 170.5 kB / 0.6815 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.1714, allocations: 0.5829 MB / 0.6821 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001136/0.1726, allocations: 0.9603 MB / 0.683 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006009/0.1732, allocations: 353.6 kB / 0.6833 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005447/0.1737, allocations: 374.3 kB / 0.6837 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004712/0.1742, allocations: 354.1 kB / 0.684 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001813/0.1744, allocations: 76 kB / 0.6841 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.1746, allocations: 84 kB / 0.6842 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.1747, allocations: 183.3 kB / 0.6844 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000341/0.1751, allocations: 373.7 kB / 0.6847 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008286/0.1759, allocations: 0.9184 MB / 0.6856 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1759, allocations: 4 kB / 0.6856 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.183e-06/0.1759, allocations: 0 / 0.6856 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.349e-05/0.1759, allocations: 0 / 0.6856 GB, free: 0.8711 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.002734/0.1787, allocations: 1.183 MB / 0.6868 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.1787, allocations: 8.031 kB / 0.6868 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002895/0.179, allocations: 95.81 kB / 0.6869 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/0.1806, allocations: 0.6182 MB / 0.6875 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.1808, allocations: 96.95 kB / 0.6876 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.063e-05/0.1809, allocations: 56.31 kB / 0.6876 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.1821, allocations: 0.6119 MB / 0.6882 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.1821, allocations: 0 / 0.6882 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.926e-05/0.1822, allocations: 20 kB / 0.6882 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.1822, allocations: 16 kB / 0.6882 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.1832, allocations: 423.6 kB / 0.6887 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003396/0.1866, allocations: 2.102 MB / 0.6907 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.188, allocations: 0.4959 MB / 0.6912 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004843/0.1885, allocations: 218.7 kB / 0.6914 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.653e-05/0.1886, allocations: 4 kB / 0.6914 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006626/0.1893, allocations: 285.9 kB / 0.6917 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=45): time 2.404e-06/0.1893, allocations: 0 / 0.6917 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45): time 0.001627/0.1909, allocations: 0.6112 MB / 0.6923 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.82e-05/0.191, allocations: 88.8 kB / 0.6924 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009546/0.192, allocations: 0.6061 MB / 0.6929 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.85e-05/0.1921, allocations: 37.7 kB / 0.693 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000333/0.1924, allocations: 356.8 kB / 0.6933 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/0.1926, allocations: 153.8 kB / 0.6935 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/0.1928, allocations: 94.23 kB / 0.6936 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1929, allocations: 330 kB / 0.6939 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004804/0.1934, allocations: 183 kB / 0.6941 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005322/0.194, allocations: 277.3 kB / 0.6943 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.1951, allocations: 481.8 kB / 0.6948 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/0.1951, allocations: 3.938 kB / 0.6948 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001382/0.1965, allocations: 0.5983 MB / 0.6954 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.478e-05/0.1965, allocations: 33.7 kB / 0.6954 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.1966, allocations: 0 / 0.6954 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.18e-05/0.1966, allocations: 8 kB / 0.6954 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005107/0.1971, allocations: 107.8 kB / 0.6955 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/0.1971, allocations: 4 kB / 0.6955 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000474/0.1976, allocations: 71.59 kB / 0.6956 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-05/0.1977, allocations: 23.98 kB / 0.6956 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000679/0.1984, allocations: 309.8 kB / 0.6959 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004919/0.1989, allocations: 268.3 kB / 0.6962 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008312/0.1997, allocations: 454 kB / 0.6966 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.896e-06/0.1997, allocations: 0 / 0.6966 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001246/0.201, allocations: 0.5789 MB / 0.6972 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.201, allocations: 37.7 kB / 0.6972 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.201, allocations: 11.98 kB / 0.6972 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/0.2011, allocations: 7.938 kB / 0.6972 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004409/0.2015, allocations: 99.83 kB / 0.6973 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.2015, allocations: 8 kB / 0.6973 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004095/0.2019, allocations: 47.66 kB / 0.6974 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/0.202, allocations: 16 kB / 0.6974 GB, free: 4.309 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.0001923/0.2022, allocations: 224 kB / 0.6976 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.2023, allocations: 71.06 kB / 0.6977 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.2025, allocations: 83.2 kB / 0.6977 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.2025, allocations: 4 kB / 0.6977 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.2025, allocations: 0 / 0.6977 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.2025, allocations: 0 / 0.6977 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007367/0.2033, allocations: 0.6257 MB / 0.6983 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.2033, allocations: 4 kB / 0.6983 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00047/0.2038, allocations: 83.89 kB / 0.6984 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.2038, allocations: 0 / 0.6984 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.2038, allocations: 11.98 kB / 0.6984 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.2038, allocations: 4 kB / 0.6984 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2038, allocations: 0 / 0.6984 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/0.2054, allocations: 0.7275 MB / 0.6992 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002388/0.2057, allocations: 196 kB / 0.6993 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.156e-05/0.2057, allocations: 12 kB / 0.6994 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004169/0.2062, allocations: 31.97 kB / 0.6994 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.441e-05/0.2063, allocations: 31.95 kB / 0.6994 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.01e-05/0.2063, allocations: 19.98 kB / 0.6994 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005229/0.2068, allocations: 435 kB / 0.6998 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2069, allocations: 4 kB / 0.6999 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000623/0.2075, allocations: 207.4 kB / 0.7 GB, free: 1.465 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.0001627/0.2077, allocations: 115.1 kB / 0.7002 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001631/0.2093, allocations: 0.7894 MB / 0.7009 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2093, allocations: 4.062 kB / 0.7009 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004503/0.2098, allocations: 211.9 kB / 0.7011 GB, free: 328 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009197/0.2107, allocations: 216.8 kB / 0.7013 GB, free: 128 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/0.2129, allocations: 1.212 MB / 0.7025 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005038/0.2134, allocations: 0.9141 MB / 0.7034 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.2136, allocations: 51.42 kB / 0.7035 GB, free: 13.88 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.2136, allocations: 0 / 0.7035 GB, free: 13.88 MB / 0.545 GB Notification: Performance of Templates: time 0.01346/0.2271, allocations: 8.725 MB / 0.712 GB, free: 5.199 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)