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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002067/0.002067, allocations: 118 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00204/0.00204, allocations: 197.2 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 225.6 MB / 248.5 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9653/0.9653, allocations: 145.2 MB / 448.5 MB, free: 13.62 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 63.06 kB / 0.6211 GB, free: 34.91 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2053, allocations: 86.65 MB / 0.7057 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID): time 0.005942/0.2112, allocations: 3.72 MB / 0.7093 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003388/0.2146, allocations: 1.332 MB / 0.7106 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005309/0.2151, allocations: 23.88 kB / 0.7106 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004114/0.2155, allocations: 130.6 kB / 0.7108 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0006032/0.2161, allocations: 182.5 kB / 0.7109 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.2175, allocations: 0.586 MB / 0.7115 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001256/0.2187, allocations: 0.9603 MB / 0.7124 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000506/0.2192, allocations: 245.6 kB / 0.7127 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005098/0.2197, allocations: 382.3 kB / 0.713 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000445/0.2202, allocations: 354.1 kB / 0.7134 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.2203, allocations: 76 kB / 0.7135 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.2204, allocations: 80 kB / 0.7135 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.2206, allocations: 179.3 kB / 0.7137 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003741/0.221, allocations: 385.7 kB / 0.7141 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.2221, allocations: 0.9139 MB / 0.715 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2221, allocations: 3.938 kB / 0.715 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2221, allocations: 0 / 0.715 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.2221, allocations: 0 / 0.715 GB, free: 9.164 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002281/0.2244, allocations: 1.214 MB / 0.7162 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.2245, allocations: 8.031 kB / 0.7162 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/0.2246, allocations: 100.3 kB / 0.7163 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.2258, allocations: 0.6189 MB / 0.7169 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.2259, allocations: 96.95 kB / 0.717 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.19e-05/0.226, allocations: 52.38 kB / 0.717 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.2272, allocations: 0.6042 MB / 0.7176 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.2272, allocations: 0 / 0.7176 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.234e-05/0.2273, allocations: 27.94 kB / 0.7176 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.2273, allocations: 12 kB / 0.7176 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000996/0.2283, allocations: 415.7 kB / 0.718 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003098/0.2314, allocations: 2.114 MB / 0.7201 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.2327, allocations: 492.2 kB / 0.7206 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004882/0.2332, allocations: 204.8 kB / 0.7208 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.828e-05/0.2332, allocations: 7.984 kB / 0.7208 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006966/0.2339, allocations: 282.7 kB / 0.721 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=45): time 2.354e-06/0.2339, allocations: 1.094 kB / 0.721 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45): time 0.0016/0.2355, allocations: 0.6155 MB / 0.7216 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.997e-05/0.2356, allocations: 84.86 kB / 0.7217 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008176/0.2364, allocations: 0.61 MB / 0.7223 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.362e-05/0.2365, allocations: 37.7 kB / 0.7223 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003517/0.2368, allocations: 361.3 kB / 0.7227 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.237, allocations: 162.6 kB / 0.7228 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.2372, allocations: 98.19 kB / 0.7229 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.2373, allocations: 326 kB / 0.7233 GB, free: 360 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004759/0.2378, allocations: 183 kB / 0.7234 GB, free: 176 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005665/0.2384, allocations: 284.3 kB / 0.7237 GB, free: 15.86 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009725/0.2394, allocations: 481.7 kB / 0.7242 GB, free: 15.35 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.2394, allocations: 7.938 kB / 0.7242 GB, free: 15.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001288/0.2406, allocations: 0.5987 MB / 0.7247 GB, free: 14.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.066e-05/0.2407, allocations: 41.64 kB / 0.7248 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.2407, allocations: 4 kB / 0.7248 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.2407, allocations: 4 kB / 0.7248 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004908/0.2412, allocations: 103.9 kB / 0.7249 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.2412, allocations: 7.938 kB / 0.7249 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004021/0.2416, allocations: 71.84 kB / 0.725 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-05/0.2417, allocations: 19.98 kB / 0.725 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000612/0.2423, allocations: 309.2 kB / 0.7253 GB, free: 14.17 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000491/0.2428, allocations: 264.3 kB / 0.7255 GB, free: 13.87 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008797/0.2437, allocations: 450 kB / 0.726 GB, free: 13.39 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.784e-06/0.2437, allocations: 4 kB / 0.726 GB, free: 13.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001143/0.2448, allocations: 0.5751 MB / 0.7265 GB, free: 12.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.861e-05/0.2448, allocations: 38.02 kB / 0.7266 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2449, allocations: 8 kB / 0.7266 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.2449, allocations: 4 kB / 0.7266 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004379/0.2453, allocations: 107.8 kB / 0.7267 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2453, allocations: 4 kB / 0.7267 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003799/0.2457, allocations: 51.7 kB / 0.7267 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.493e-05/0.2457, allocations: 20 kB / 0.7268 GB, free: 12.57 MB / 0.545 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.0002361/0.246, allocations: 220.8 kB / 0.727 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.2461, allocations: 79.48 kB / 0.727 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.2463, allocations: 79.2 kB / 0.7271 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.2463, allocations: 8 kB / 0.7271 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.2463, allocations: 4 kB / 0.7271 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.2463, allocations: 0 / 0.7271 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007674/0.2471, allocations: 0.6219 MB / 0.7277 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.2471, allocations: 3.938 kB / 0.7277 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004623/0.2475, allocations: 79.89 kB / 0.7278 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.2475, allocations: 8 kB / 0.7278 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.893e-05/0.2476, allocations: 15.98 kB / 0.7278 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2476, allocations: 0 / 0.7278 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2476, allocations: 3.938 kB / 0.7278 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.2492, allocations: 0.7319 MB / 0.7286 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002572/0.2494, allocations: 192.5 kB / 0.7287 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.303e-05/0.2495, allocations: 12 kB / 0.7288 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004014/0.2499, allocations: 27.97 kB / 0.7288 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.25, allocations: 39.94 kB / 0.7288 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.511e-05/0.25, allocations: 15.98 kB / 0.7288 GB, free: 10.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005449/0.2506, allocations: 435 kB / 0.7292 GB, free: 9.922 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.2506, allocations: 3.938 kB / 0.7292 GB, free: 9.918 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006479/0.2512, allocations: 215.5 kB / 0.7295 GB, free: 9.707 MB / 0.545 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.0001772/0.2514, allocations: 111.2 kB / 0.7296 GB, free: 9.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001674/0.2531, allocations: 0.7463 MB / 0.7303 GB, free: 8.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2531, allocations: 0 / 0.7303 GB, free: 8.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004714/0.2536, allocations: 208 kB / 0.7305 GB, free: 8.617 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009304/0.2545, allocations: 206.9 kB / 0.7307 GB, free: 8.426 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/0.2569, allocations: 1.241 MB / 0.7319 GB, free: 7.148 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005455/0.2574, allocations: 0.9102 MB / 0.7328 GB, free: 6.211 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.2576, allocations: 51.42 kB / 0.7328 GB, free: 6.16 MB / 0.545 GB Notification: Performance of SimCode: time 9.22e-07/0.2576, allocations: 0 / 0.7328 GB, free: 6.16 MB / 0.545 GB Notification: Performance of Templates: time 0.01503/0.2726, allocations: 8.738 MB / 0.7414 GB, free: 13.47 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.781891538994387] Failed to read output from testmodel.py, exit status != 0: 0.28087573894299567 0.29472512999999995 0.069658382 Calling exit ...