Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 214.1 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.373/1.373, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.8995/0.8995, allocations: 145 MB / 458.2 MB, free: 15.3 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003133/0.003133, allocations: 66.53 kB / 0.6343 GB, free: 6.27 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1843, allocations: 87.9 MB / 0.7201 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.005347/0.1896, allocations: 3.732 MB / 0.7238 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00246/0.1921, allocations: 1.329 MB / 0.7251 GB, free: 9.293 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003064/0.1924, allocations: 27.81 kB / 0.7251 GB, free: 9.266 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003333/0.1927, allocations: 130.7 kB / 0.7252 GB, free: 9.137 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003408/0.193, allocations: 190.4 kB / 0.7254 GB, free: 8.949 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008389/0.1939, allocations: 406.1 kB / 0.7258 GB, free: 8.555 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009743/0.1949, allocations: 0.9593 MB / 0.7267 GB, free: 7.59 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000504/0.1954, allocations: 290.6 kB / 0.727 GB, free: 7.285 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004054/0.1958, allocations: 342.8 kB / 0.7273 GB, free: 6.949 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003636/0.1961, allocations: 294.3 kB / 0.7276 GB, free: 6.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.1963, allocations: 92 kB / 0.7277 GB, free: 6.57 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.1964, allocations: 88 kB / 0.7278 GB, free: 6.484 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.1965, allocations: 187.3 kB / 0.7279 GB, free: 6.301 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002896/0.1968, allocations: 298.6 kB / 0.7282 GB, free: 6.008 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.1981, allocations: 1.132 MB / 0.7293 GB, free: 4.871 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1981, allocations: 0 / 0.7293 GB, free: 4.871 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.884e-06/0.1981, allocations: 0 / 0.7293 GB, free: 4.871 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.1981, allocations: 0 / 0.7293 GB, free: 4.871 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001914/0.2, allocations: 1.076 MB / 0.7304 GB, free: 3.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.2001, allocations: 8.031 kB / 0.7304 GB, free: 3.742 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.2002, allocations: 92.36 kB / 0.7305 GB, free: 3.652 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009538/0.2012, allocations: 0.5077 MB / 0.731 GB, free: 3.121 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.499e-05/0.2012, allocations: 45.69 kB / 0.731 GB, free: 3.078 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.071e-05/0.2013, allocations: 60.33 kB / 0.7311 GB, free: 3.02 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.2024, allocations: 0.662 MB / 0.7317 GB, free: 2.32 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.2024, allocations: 3.938 kB / 0.7317 GB, free: 2.316 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.357e-05/0.2025, allocations: 24 kB / 0.7318 GB, free: 2.293 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.2025, allocations: 20 kB / 0.7318 GB, free: 2.273 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000984/0.2035, allocations: 453 kB / 0.7322 GB, free: 1.832 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002687/0.2062, allocations: 1.694 MB / 0.7339 GB, free: 84 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009171/0.2071, allocations: 413.5 kB / 0.7343 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004463/0.2075, allocations: 238 kB / 0.7345 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.516e-05/0.2076, allocations: 8.438 kB / 0.7345 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005381/0.2081, allocations: 257.3 kB / 0.7347 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=49): time 2.164e-06/0.2081, allocations: 0 / 0.7347 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49): time 0.001291/0.2094, allocations: 0.5846 MB / 0.7353 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.2095, allocations: 59.84 kB / 0.7354 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005106/0.21, allocations: 434.5 kB / 0.7358 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/0.21, allocations: 33.7 kB / 0.7358 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002761/0.2103, allocations: 328.9 kB / 0.7361 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.2104, allocations: 178.4 kB / 0.7363 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.2106, allocations: 90.34 kB / 0.7364 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001919/0.2108, allocations: 374.7 kB / 0.7367 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000405/0.2112, allocations: 194.9 kB / 0.7369 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004641/0.2116, allocations: 272.4 kB / 0.7372 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008288/0.2125, allocations: 459 kB / 0.7376 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2125, allocations: 0 / 0.7376 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001091/0.2136, allocations: 0.5941 MB / 0.7382 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.121e-05/0.2136, allocations: 33.7 kB / 0.7382 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.2136, allocations: 3.938 kB / 0.7382 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.2136, allocations: 4 kB / 0.7382 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004799/0.2141, allocations: 115.8 kB / 0.7383 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.2141, allocations: 4 kB / 0.7384 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002994/0.2144, allocations: 59.64 kB / 0.7384 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/0.2145, allocations: 16.19 kB / 0.7384 GB, free: 11.23 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.000255/0.2147, allocations: 211.2 kB / 0.7386 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.262e-05/0.2148, allocations: 59.62 kB / 0.7387 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001392/0.2149, allocations: 69.38 kB / 0.7388 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.2149, allocations: 4 kB / 0.7388 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.2149, allocations: 4 kB / 0.7388 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.2149, allocations: 7.969 kB / 0.7388 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.2166, allocations: 0.9984 MB / 0.7397 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.2167, allocations: 7.922 kB / 0.7397 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004594/0.2171, allocations: 95.83 kB / 0.7398 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.2171, allocations: 4 kB / 0.7398 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.297e-05/0.2172, allocations: 11.98 kB / 0.7399 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.2172, allocations: 4 kB / 0.7399 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2172, allocations: 0 / 0.7399 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.2185, allocations: 0.7574 MB / 0.7406 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001787/0.2187, allocations: 99.52 kB / 0.7407 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.307e-05/0.2188, allocations: 12 kB / 0.7407 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002738/0.219, allocations: 23.97 kB / 0.7407 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.11e-05/0.2191, allocations: 36.38 kB / 0.7408 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.2192, allocations: 12 kB / 0.7408 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000339/0.2195, allocations: 295.1 kB / 0.7411 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2195, allocations: 4 kB / 0.7411 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004536/0.22, allocations: 151.5 kB / 0.7412 GB, free: 8.324 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * 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.0001532/0.2201, allocations: 109.9 kB / 0.7413 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009672/0.2211, allocations: 494.8 kB / 0.7418 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2211, allocations: 0 / 0.7418 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004271/0.2215, allocations: 202.4 kB / 0.742 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007188/0.2222, allocations: 155.9 kB / 0.7421 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002651/0.2249, allocations: 1.39 MB / 0.7435 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.2252, allocations: 292.7 kB / 0.7438 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.2253, allocations: 39.44 kB / 0.7438 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of SimCode: time 4e-07/0.2253, allocations: 4 kB / 0.7438 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of Templates: time 0.3173/0.5426, allocations: 7.799 MB / 0.7514 GB, free: 29.93 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.469860679935664] Failed to read output from testmodel.py, exit status != 0: 0.5516545888967812 0.5630038869999999 0.362323172 Calling exit ...