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.001306/0.001306, allocations: 111.6 kB / 18.7 MB, free: 3.145 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.006359/0.006359, allocations: 182 kB / 21.95 MB, free: 5.074 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.417/1.417, allocations: 225.6 MB / 250.7 MB, free: 13.35 MB / 206.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.9249/0.9249, allocations: 145.2 MB / 451.1 MB, free: 6.027 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.001937/0.001937, allocations: 69.14 kB / 0.6248 GB, free: 15.91 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1942, allocations: 86.64 MB / 0.7094 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID): time 0.006133/0.2004, allocations: 3.744 MB / 0.7131 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003003/0.2034, allocations: 1.336 MB / 0.7144 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004308/0.2038, allocations: 27.81 kB / 0.7144 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003705/0.2042, allocations: 130.6 kB / 0.7145 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0005515/0.2047, allocations: 186.5 kB / 0.7147 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.206, allocations: 0.5911 MB / 0.7153 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001101/0.2071, allocations: 0.9643 MB / 0.7162 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004674/0.2076, allocations: 241.6 kB / 0.7164 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004814/0.208, allocations: 378.3 kB / 0.7168 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004097/0.2085, allocations: 354.1 kB / 0.7171 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.2086, allocations: 76 kB / 0.7172 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.2087, allocations: 80 kB / 0.7173 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001774/0.2089, allocations: 187.3 kB / 0.7175 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003357/0.2092, allocations: 377.7 kB / 0.7178 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.2102, allocations: 0.9178 MB / 0.7187 GB, free: 15.61 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2102, allocations: 0 / 0.7187 GB, free: 15.61 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2102, allocations: 3.938 kB / 0.7187 GB, free: 15.61 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.2103, allocations: 0 / 0.7187 GB, free: 15.61 MB / 0.545 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.002071/0.2123, allocations: 1.218 MB / 0.7199 GB, free: 14.33 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.2124, allocations: 8.031 kB / 0.7199 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.2125, allocations: 100.3 kB / 0.72 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.2136, allocations: 0.6189 MB / 0.7206 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.2137, allocations: 92.97 kB / 0.7207 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-05/0.2138, allocations: 56.38 kB / 0.7208 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.2149, allocations: 0.608 MB / 0.7214 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.2149, allocations: 0 / 0.7214 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.179e-05/0.215, allocations: 20 kB / 0.7214 GB, free: 12.74 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.215, allocations: 16 kB / 0.7214 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009542/0.216, allocations: 427.6 kB / 0.7218 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002875/0.2188, allocations: 2.099 MB / 0.7239 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.22, allocations: 487.7 kB / 0.7243 GB, free: 9.633 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004511/0.2205, allocations: 211.4 kB / 0.7245 GB, free: 9.426 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.165e-05/0.2205, allocations: 8 kB / 0.7245 GB, free: 9.418 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006353/0.2212, allocations: 285.9 kB / 0.7248 GB, free: 9.125 MB / 0.545 GB Notification: Performance of pre-optimization done (n=45): time 2.154e-06/0.2212, allocations: 0 / 0.7248 GB, free: 9.125 MB / 0.545 GB Notification: Performance of matching and sorting (n=45): time 0.001491/0.2227, allocations: 0.6127 MB / 0.7254 GB, free: 8.508 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.337e-05/0.2227, allocations: 84.86 kB / 0.7255 GB, free: 8.406 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007341/0.2235, allocations: 0.6178 MB / 0.7261 GB, free: 7.781 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/0.2235, allocations: 33.7 kB / 0.7261 GB, free: 7.742 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003035/0.2238, allocations: 353.3 kB / 0.7265 GB, free: 7.391 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/0.224, allocations: 170.6 kB / 0.7266 GB, free: 7.223 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.2241, allocations: 94.2 kB / 0.7267 GB, free: 7.125 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.2243, allocations: 330 kB / 0.727 GB, free: 6.797 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004382/0.2247, allocations: 183 kB / 0.7272 GB, free: 6.617 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005338/0.2253, allocations: 284.1 kB / 0.7275 GB, free: 6.305 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009641/0.2262, allocations: 477.8 kB / 0.7279 GB, free: 5.801 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.228e-06/0.2262, allocations: 7.938 kB / 0.7279 GB, free: 5.793 MB / 0.545 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001273/0.2275, allocations: 0.6065 MB / 0.7285 GB, free: 5.172 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.003e-05/0.2276, allocations: 37.69 kB / 0.7286 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.2276, allocations: 0 / 0.7286 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/0.2276, allocations: 8 kB / 0.7286 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004895/0.2281, allocations: 107.8 kB / 0.7287 GB, free: 5.016 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-05/0.2281, allocations: 4 kB / 0.7287 GB, free: 5.012 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000392/0.2285, allocations: 71.84 kB / 0.7287 GB, free: 4.941 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/0.2285, allocations: 16 kB / 0.7288 GB, free: 4.926 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006218/0.2292, allocations: 309.2 kB / 0.7291 GB, free: 4.621 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004942/0.2296, allocations: 268.2 kB / 0.7293 GB, free: 4.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000939/0.2306, allocations: 453.8 kB / 0.7297 GB, free: 3.836 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.27e-06/0.2306, allocations: 4 kB / 0.7297 GB, free: 3.832 MB / 0.545 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001231/0.2318, allocations: 0.5791 MB / 0.7303 GB, free: 3.238 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/0.2319, allocations: 34.02 kB / 0.7303 GB, free: 3.199 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2319, allocations: 8 kB / 0.7304 GB, free: 3.191 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/0.2319, allocations: 4 kB / 0.7304 GB, free: 3.188 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004508/0.2323, allocations: 99.88 kB / 0.7305 GB, free: 3.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.2323, allocations: 11.94 kB / 0.7305 GB, free: 3.078 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003733/0.2327, allocations: 47.72 kB / 0.7305 GB, free: 3.031 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.516e-05/0.2328, allocations: 20 kB / 0.7305 GB, free: 3.012 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.0002825/0.233, allocations: 224 kB / 0.7307 GB, free: 2.785 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.2332, allocations: 79.48 kB / 0.7308 GB, free: 2.707 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/0.2334, allocations: 75.22 kB / 0.7309 GB, free: 2.633 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.2334, allocations: 4 kB / 0.7309 GB, free: 2.629 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.2334, allocations: 4 kB / 0.7309 GB, free: 2.625 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.2334, allocations: 7.969 kB / 0.7309 GB, free: 2.617 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009575/0.2344, allocations: 0.618 MB / 0.7315 GB, free: 1.949 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.2344, allocations: 0 / 0.7315 GB, free: 1.949 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004776/0.2349, allocations: 87.81 kB / 0.7316 GB, free: 1.863 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.106e-06/0.2349, allocations: 8 kB / 0.7316 GB, free: 1.855 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.2349, allocations: 8 kB / 0.7316 GB, free: 1.848 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.2349, allocations: 4 kB / 0.7316 GB, free: 1.844 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2349, allocations: 0 / 0.7316 GB, free: 1.844 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.2364, allocations: 0.7318 MB / 0.7323 GB, free: 1.094 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000254/0.2367, allocations: 196.5 kB / 0.7325 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.982e-05/0.2368, allocations: 4 kB / 0.7325 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003818/0.2372, allocations: 40.08 kB / 0.7326 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.2373, allocations: 39.89 kB / 0.7326 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/0.2373, allocations: 19.98 kB / 0.7326 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005591/0.2379, allocations: 427.1 kB / 0.733 GB, free: 376 kB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.2379, allocations: 0 / 0.733 GB, free: 376 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006681/0.2385, allocations: 219.5 kB / 0.7332 GB, free: 156 kB / 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.0001625/0.2387, allocations: 107.2 kB / 0.7333 GB, free: 36 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001648/0.2403, allocations: 0.7503 MB / 0.7341 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2404, allocations: 0 / 0.7341 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004572/0.2408, allocations: 208 kB / 0.7343 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008772/0.2417, allocations: 216.1 kB / 0.7345 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.244, allocations: 1.234 MB / 0.7357 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005565/0.2445, allocations: 0.9141 MB / 0.7366 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.2447, allocations: 47.44 kB / 0.7366 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of SimCode: time 5.61e-07/0.2447, allocations: 0 / 0.7366 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.01522/0.26, allocations: 8.713 MB / 0.7451 GB, free: 3.926 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.526735424995422] Failed to read output from testmodel.py, exit status != 0: 0.2683965479955077 0.595583631 0.38219553100000003 Calling exit ...