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.001606/0.001606, allocations: 108.2 kB / 16.41 MB, free: 6.496 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.001484/0.001484, allocations: 185.5 kB / 17.34 MB, free: 5.758 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.15 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.8692/0.8692, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 63.45 kB / 0.5962 GB, free: 12.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1761, allocations: 82.03 MB / 0.6763 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID): time 0.005566/0.1817, allocations: 3.717 MB / 0.6799 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002982/0.1847, allocations: 1.332 MB / 0.6812 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004957/0.1852, allocations: 27.88 kB / 0.6812 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000351/0.1855, allocations: 126.6 kB / 0.6814 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005687/0.1861, allocations: 186.5 kB / 0.6815 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.1873, allocations: 0.5703 MB / 0.6821 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001239/0.1886, allocations: 0.9642 MB / 0.683 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000471/0.1891, allocations: 245.7 kB / 0.6833 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005322/0.1896, allocations: 378.4 kB / 0.6836 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000386/0.19, allocations: 350 kB / 0.684 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.1901, allocations: 84 kB / 0.684 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.1902, allocations: 76 kB / 0.6841 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.1904, allocations: 179.3 kB / 0.6843 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003441/0.1907, allocations: 377.7 kB / 0.6846 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.1918, allocations: 0.9177 MB / 0.6855 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1918, allocations: 0 / 0.6855 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1918, allocations: 0 / 0.6855 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.1918, allocations: 0 / 0.6855 GB, free: 0.8633 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.002271/0.1941, allocations: 1.218 MB / 0.6867 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.1941, allocations: 12.03 kB / 0.6867 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000177/0.1943, allocations: 96.33 kB / 0.6868 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.1954, allocations: 0.6266 MB / 0.6874 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.1955, allocations: 96.97 kB / 0.6875 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.524e-05/0.1956, allocations: 60.36 kB / 0.6876 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.1968, allocations: 0.6041 MB / 0.6882 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.1968, allocations: 0 / 0.6882 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.7e-05/0.1968, allocations: 24 kB / 0.6882 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.1969, allocations: 12 kB / 0.6882 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009918/0.1978, allocations: 427.6 kB / 0.6886 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003038/0.2009, allocations: 2.099 MB / 0.6907 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.2021, allocations: 491.8 kB / 0.6911 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004774/0.2026, allocations: 200.8 kB / 0.6913 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.413e-05/0.2026, allocations: 11.92 kB / 0.6913 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006699/0.2033, allocations: 282 kB / 0.6916 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=45): time 3.016e-06/0.2033, allocations: 4 kB / 0.6916 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45): time 0.001602/0.2049, allocations: 0.6079 MB / 0.6922 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.612e-05/0.205, allocations: 84.86 kB / 0.6923 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008118/0.2058, allocations: 0.6254 MB / 0.6929 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.287e-05/0.2059, allocations: 33.7 kB / 0.6929 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000307/0.2062, allocations: 357.2 kB / 0.6933 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.2063, allocations: 162.6 kB / 0.6934 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.2065, allocations: 102.2 kB / 0.6935 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.2067, allocations: 326 kB / 0.6938 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004571/0.2071, allocations: 179 kB / 0.694 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005457/0.2077, allocations: 285.3 kB / 0.6943 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.2087, allocations: 485.7 kB / 0.6947 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.2087, allocations: 3.938 kB / 0.6948 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00129/0.21, allocations: 0.5947 MB / 0.6953 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.28e-05/0.21, allocations: 37.69 kB / 0.6954 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.21, allocations: 4 kB / 0.6954 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.21, allocations: 4 kB / 0.6954 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004802/0.2105, allocations: 108.1 kB / 0.6955 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.2105, allocations: 8 kB / 0.6955 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003976/0.2109, allocations: 71.53 kB / 0.6956 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.211, allocations: 16 kB / 0.6956 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006136/0.2116, allocations: 309.8 kB / 0.6959 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005249/0.2121, allocations: 272.2 kB / 0.6961 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008944/0.213, allocations: 454 kB / 0.6966 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.883e-06/0.213, allocations: 0 / 0.6966 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001162/0.2141, allocations: 0.5831 MB / 0.6971 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/0.2142, allocations: 29.7 kB / 0.6972 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2142, allocations: 4 kB / 0.6972 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.674e-06/0.2142, allocations: 4 kB / 0.6972 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004559/0.2146, allocations: 107.8 kB / 0.6973 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.2147, allocations: 4 kB / 0.6973 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003637/0.215, allocations: 47.72 kB / 0.6973 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.773e-05/0.2151, allocations: 28.17 kB / 0.6973 GB, free: 4.254 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.0002156/0.2153, allocations: 216 kB / 0.6975 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.2154, allocations: 83.42 kB / 0.6976 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001937/0.2156, allocations: 79.22 kB / 0.6977 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.2156, allocations: 4 kB / 0.6977 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.2156, allocations: 3.984 kB / 0.6977 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.2156, allocations: 3.984 kB / 0.6977 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007644/0.2164, allocations: 0.6259 MB / 0.6983 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.2164, allocations: 4 kB / 0.6983 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004607/0.2168, allocations: 83.88 kB / 0.6984 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.2168, allocations: 0 / 0.6984 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.629e-05/0.2169, allocations: 12 kB / 0.6984 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2169, allocations: 0 / 0.6984 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2169, allocations: 0 / 0.6984 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.2185, allocations: 0.7396 MB / 0.6991 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002439/0.2187, allocations: 192.5 kB / 0.6993 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.419e-05/0.2188, allocations: 8 kB / 0.6993 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004051/0.2192, allocations: 39.95 kB / 0.6994 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.85e-05/0.2193, allocations: 31.95 kB / 0.6994 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/0.2193, allocations: 15.98 kB / 0.6994 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005693/0.2199, allocations: 435 kB / 0.6998 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2199, allocations: 0 / 0.6998 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000638/0.2205, allocations: 219.5 kB / 0.7 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.0001652/0.2207, allocations: 115.2 kB / 0.7002 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001691/0.2224, allocations: 0.7424 MB / 0.7009 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/0.2224, allocations: 3.984 kB / 0.7009 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000462/0.2229, allocations: 199.9 kB / 0.7011 GB, free: 312 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008962/0.2238, allocations: 203.9 kB / 0.7013 GB, free: 120 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/0.226, allocations: 1.241 MB / 0.7025 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005615/0.2266, allocations: 0.914 MB / 0.7034 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.2267, allocations: 55.38 kB / 0.7034 GB, free: 13.84 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.2267, allocations: 4 kB / 0.7034 GB, free: 13.84 MB / 0.545 GB Notification: Performance of Templates: time 0.0144/0.2412, allocations: 8.717 MB / 0.7119 GB, free: 5.16 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)