Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.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.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 111 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.001783/0.001783, allocations: 187 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.445/1.445, 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.9003/0.9003, allocations: 143.1 MB / 434.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 71.7 kB / 0.5962 GB, free: 12.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1671, allocations: 82.03 MB / 0.6763 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.00584/0.173, allocations: 4.327 MB / 0.6805 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003544/0.1765, allocations: 1.586 MB / 0.682 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009233/0.1775, allocations: 39.81 kB / 0.6821 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005816/0.1781, allocations: 162.2 kB / 0.6822 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001032/0.1792, allocations: 226.1 kB / 0.6825 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.1807, allocations: 0.6718 MB / 0.6831 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001632/0.1823, allocations: 1.218 MB / 0.6843 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008447/0.1832, allocations: 0.5002 MB / 0.6848 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000676/0.1839, allocations: 469.9 kB / 0.6852 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000463/0.1843, allocations: 453.5 kB / 0.6857 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.1845, allocations: 100 kB / 0.6858 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.1846, allocations: 104 kB / 0.6859 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.1848, allocations: 235 kB / 0.6861 GB, free: 272 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004019/0.1852, allocations: 493 kB / 0.6866 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.1863, allocations: 1.199 MB / 0.6877 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1863, allocations: 0 / 0.6877 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1863, allocations: 0 / 0.6877 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.44e-05/0.1863, allocations: 0 / 0.6877 GB, free: 14.58 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002304/0.1886, allocations: 1.398 MB / 0.6891 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1887, allocations: 8.031 kB / 0.6891 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.1889, allocations: 123.4 kB / 0.6892 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.1901, allocations: 0.7704 MB / 0.69 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.38e-05/0.1902, allocations: 76.27 kB / 0.69 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.1903, allocations: 76.36 kB / 0.6901 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.1915, allocations: 0.7368 MB / 0.6908 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.1916, allocations: 3.938 kB / 0.6908 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.919e-05/0.1916, allocations: 32 kB / 0.6909 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.1916, allocations: 16 kB / 0.6909 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.1927, allocations: 0.5126 MB / 0.6914 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003138/0.1958, allocations: 2.255 MB / 0.6936 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/0.1972, allocations: 0.6115 MB / 0.6942 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004966/0.1977, allocations: 271.3 kB / 0.6944 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.057e-05/0.1978, allocations: 16.55 kB / 0.6945 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006314/0.1984, allocations: 319 kB / 0.6948 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=60): time 1.984e-06/0.1984, allocations: 0 / 0.6948 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of matching and sorting (n=60): time 0.001572/0.2, allocations: 0.7517 MB / 0.6955 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/0.2001, allocations: 85.67 kB / 0.6956 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008381/0.2009, allocations: 0.7594 MB / 0.6963 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.586e-05/0.201, allocations: 37.7 kB / 0.6964 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003404/0.2013, allocations: 444.5 kB / 0.6968 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.2015, allocations: 201 kB / 0.697 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.2017, allocations: 114.3 kB / 0.6971 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.2018, allocations: 326 kB / 0.6974 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004573/0.2023, allocations: 215.3 kB / 0.6976 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00052/0.2028, allocations: 300.4 kB / 0.6979 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009394/0.2037, allocations: 0.5112 MB / 0.6984 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.2037, allocations: 0 / 0.6984 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001184/0.2049, allocations: 0.65 MB / 0.699 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.205, allocations: 4 kB / 0.699 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.205, allocations: 7.938 kB / 0.699 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.205, allocations: 7.984 kB / 0.699 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006317/0.2056, allocations: 152 kB / 0.6992 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.2057, allocations: 7.938 kB / 0.6992 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003871/0.2061, allocations: 71.34 kB / 0.6993 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.2061, allocations: 16 kB / 0.6993 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005773/0.2067, allocations: 357.4 kB / 0.6996 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000478/0.2072, allocations: 292.4 kB / 0.6999 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008579/0.208, allocations: 0.4958 MB / 0.7004 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.814e-06/0.208, allocations: 3.938 kB / 0.7004 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001077/0.2091, allocations: 0.6227 MB / 0.701 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.2091, allocations: 12.25 kB / 0.701 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2092, allocations: 4 kB / 0.701 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.682e-06/0.2092, allocations: 7.984 kB / 0.701 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000577/0.2098, allocations: 143.7 kB / 0.7011 GB, free: 400 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.2098, allocations: 4 kB / 0.7012 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003597/0.2101, allocations: 55.45 kB / 0.7012 GB, free: 340 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.945e-05/0.2102, allocations: 27.98 kB / 0.7012 GB, free: 312 kB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0001733/0.2104, allocations: 217.1 kB / 0.7014 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.2105, allocations: 90.88 kB / 0.7015 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000196/0.2107, allocations: 101.2 kB / 0.7016 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.2107, allocations: 8 kB / 0.7016 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.2107, allocations: 3.938 kB / 0.7016 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.2107, allocations: 7.922 kB / 0.7016 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/0.2128, allocations: 1.435 MB / 0.703 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.2128, allocations: 0 / 0.703 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005458/0.2134, allocations: 115.8 kB / 0.7032 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.2134, allocations: 4 kB / 0.7032 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.906e-05/0.2134, allocations: 15.98 kB / 0.7032 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.2134, allocations: 4 kB / 0.7032 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2135, allocations: 4 kB / 0.7032 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001619/0.2151, allocations: 0.9595 MB / 0.7041 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002344/0.2153, allocations: 219.7 kB / 0.7043 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.501e-05/0.2154, allocations: 15.98 kB / 0.7043 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004105/0.2158, allocations: 31.97 kB / 0.7044 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.818e-05/0.2159, allocations: 32.52 kB / 0.7044 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.799e-05/0.216, allocations: 19.98 kB / 0.7044 GB, free: 12.94 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005944/0.2166, allocations: 0.5185 MB / 0.7049 GB, free: 12.43 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.433e-06/0.2166, allocations: 4 kB / 0.7049 GB, free: 12.42 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006777/0.2173, allocations: 279 kB / 0.7052 GB, free: 12.15 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001538/0.2174, allocations: 111.1 kB / 0.7053 GB, free: 12.03 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001549/0.219, allocations: 0.7957 MB / 0.7061 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.219, allocations: 0 / 0.7061 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004956/0.2195, allocations: 275.8 kB / 0.7063 GB, free: 10.96 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.2206, allocations: 260.9 kB / 0.7066 GB, free: 10.72 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002692/0.2233, allocations: 1.601 MB / 0.7082 GB, free: 9.082 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005635/0.2239, allocations: 0.9976 MB / 0.7091 GB, free: 8.059 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.2241, allocations: 59.44 kB / 0.7092 GB, free: 8 MB / 0.545 GB Notification: Performance of SimCode: time 7.61e-07/0.2241, allocations: 0 / 0.7092 GB, free: 8 MB / 0.545 GB Notification: Performance of Templates: time 0.01533/0.2395, allocations: 10.93 MB / 0.7199 GB, free: 13.13 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)