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.001334/0.001334, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.001413/0.001413, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.466/1.466, allocations: 225.6 MB / 249.4 MB, free: 3.16 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.945/0.945, allocations: 145.2 MB / 449.7 MB, free: 13.55 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.001908/0.001908, allocations: 63.05 kB / 0.6231 GB, free: 35.03 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.214, allocations: 86.65 MB / 0.7078 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID): time 0.005856/0.2199, allocations: 3.751 MB / 0.7114 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003687/0.2236, allocations: 1.336 MB / 0.7127 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005561/0.2241, allocations: 27.81 kB / 0.7127 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003989/0.2245, allocations: 130.6 kB / 0.7129 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0006122/0.2252, allocations: 194.5 kB / 0.7131 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.2265, allocations: 0.5796 MB / 0.7136 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00113/0.2276, allocations: 0.9604 MB / 0.7146 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005101/0.2281, allocations: 249.6 kB / 0.7148 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004969/0.2286, allocations: 378.3 kB / 0.7152 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004209/0.2291, allocations: 354.1 kB / 0.7155 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.2292, allocations: 76 kB / 0.7156 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.2293, allocations: 80 kB / 0.7156 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.2295, allocations: 183.3 kB / 0.7158 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003508/0.2298, allocations: 377.7 kB / 0.7162 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.2309, allocations: 0.9178 MB / 0.7171 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2309, allocations: 0 / 0.7171 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2309, allocations: 3.938 kB / 0.7171 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.2309, allocations: 7.938 kB / 0.7171 GB, free: 8.277 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.002208/0.2331, allocations: 1.206 MB / 0.7183 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.2332, allocations: 8.031 kB / 0.7183 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000167/0.2333, allocations: 96.33 kB / 0.7184 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.2345, allocations: 0.6344 MB / 0.719 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/0.2346, allocations: 92.97 kB / 0.7191 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-05/0.2347, allocations: 60.36 kB / 0.7191 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.2359, allocations: 0.6003 MB / 0.7197 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.2359, allocations: 3.938 kB / 0.7197 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.588e-05/0.2359, allocations: 20 kB / 0.7197 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.236, allocations: 12 kB / 0.7198 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000956/0.2369, allocations: 427.6 kB / 0.7202 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002877/0.2398, allocations: 2.103 MB / 0.7222 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.241, allocations: 488.2 kB / 0.7227 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004666/0.2415, allocations: 203 kB / 0.7229 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.83e-05/0.2415, allocations: 11.98 kB / 0.7229 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006503/0.2422, allocations: 278.7 kB / 0.7232 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=45): time 2.044e-06/0.2422, allocations: 0 / 0.7232 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45): time 0.00148/0.2437, allocations: 0.6166 MB / 0.7238 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.706e-05/0.2437, allocations: 84.86 kB / 0.7238 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007379/0.2445, allocations: 0.61 MB / 0.7244 GB, free: 472 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.338e-05/0.2445, allocations: 41.69 kB / 0.7245 GB, free: 424 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003065/0.2448, allocations: 357.3 kB / 0.7248 GB, free: 60 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.245, allocations: 170.6 kB / 0.725 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.2452, allocations: 94.2 kB / 0.7251 GB, free: 15.79 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.2453, allocations: 326 kB / 0.7254 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004542/0.2458, allocations: 183 kB / 0.7255 GB, free: 15.29 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005197/0.2463, allocations: 284.1 kB / 0.7258 GB, free: 14.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009359/0.2472, allocations: 477.8 kB / 0.7263 GB, free: 14.47 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/0.2472, allocations: 3.938 kB / 0.7263 GB, free: 14.47 MB / 0.545 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001231/0.2485, allocations: 0.6064 MB / 0.7269 GB, free: 13.85 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.632e-05/0.2485, allocations: 33.7 kB / 0.7269 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.2485, allocations: 4 kB / 0.7269 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.2485, allocations: 8.312 kB / 0.7269 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004636/0.249, allocations: 107.9 kB / 0.727 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.249, allocations: 11.92 kB / 0.727 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003749/0.2494, allocations: 59.61 kB / 0.7271 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.414e-05/0.2495, allocations: 23.98 kB / 0.7271 GB, free: 13.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005649/0.25, allocations: 305.8 kB / 0.7274 GB, free: 13.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004548/0.2505, allocations: 272.2 kB / 0.7277 GB, free: 12.99 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008281/0.2513, allocations: 453.9 kB / 0.7281 GB, free: 12.51 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.954e-06/0.2513, allocations: 0 / 0.7281 GB, free: 12.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001077/0.2524, allocations: 0.5791 MB / 0.7287 GB, free: 11.92 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/0.2524, allocations: 37.69 kB / 0.7287 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2524, allocations: 4 kB / 0.7287 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.011e-06/0.2524, allocations: 4 kB / 0.7287 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004133/0.2528, allocations: 99.83 kB / 0.7288 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.2528, allocations: 4.312 kB / 0.7288 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003453/0.2532, allocations: 59.7 kB / 0.7289 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.685e-05/0.2532, allocations: 16 kB / 0.7289 GB, free: 11.69 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.0002184/0.2534, allocations: 220 kB / 0.7291 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.2535, allocations: 75.48 kB / 0.7292 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001641/0.2537, allocations: 83.2 kB / 0.7292 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.2537, allocations: 4 kB / 0.7292 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.2537, allocations: 4 kB / 0.7292 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.2537, allocations: 3.984 kB / 0.7292 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007711/0.2545, allocations: 0.618 MB / 0.7299 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2545, allocations: 4 kB / 0.7299 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004484/0.255, allocations: 87.77 kB / 0.7299 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.255, allocations: 3.984 kB / 0.7299 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.391e-05/0.255, allocations: 12 kB / 0.73 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.255, allocations: 4 kB / 0.73 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.255, allocations: 0 / 0.73 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/0.2566, allocations: 0.728 MB / 0.7307 GB, free: 9.773 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002361/0.2568, allocations: 200.5 kB / 0.7309 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.231e-05/0.2569, allocations: 8 kB / 0.7309 GB, free: 9.551 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003847/0.2573, allocations: 39.95 kB / 0.7309 GB, free: 9.512 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.2574, allocations: 27.95 kB / 0.7309 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.933e-05/0.2574, allocations: 16.12 kB / 0.7309 GB, free: 9.469 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005289/0.2579, allocations: 427 kB / 0.7314 GB, free: 9.055 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2579, allocations: 0 / 0.7314 GB, free: 9.055 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005971/0.2585, allocations: 219.5 kB / 0.7316 GB, free: 8.84 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.000172/0.2587, allocations: 123.1 kB / 0.7317 GB, free: 8.711 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001544/0.2603, allocations: 0.7419 MB / 0.7324 GB, free: 7.945 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.2603, allocations: 4 kB / 0.7324 GB, free: 7.941 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000455/0.2607, allocations: 204.6 kB / 0.7326 GB, free: 7.742 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008788/0.2616, allocations: 222 kB / 0.7328 GB, free: 7.539 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.2637, allocations: 1.202 MB / 0.734 GB, free: 6.305 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005358/0.2642, allocations: 0.918 MB / 0.7349 GB, free: 5.359 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003544/0.2646, allocations: 89.12 kB / 0.735 GB, free: 5.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.2647, allocations: 47.42 kB / 0.735 GB, free: 5.223 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.2647, allocations: 0 / 0.735 GB, free: 5.223 MB / 0.545 GB Notification: Performance of Templates: time 0.01551/0.2803, allocations: 7.842 MB / 0.7427 GB, free: 13.48 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: 6.1442205952480435]