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.001557/0.001557, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001356/0.001356, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 8 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.8944/0.8944, allocations: 145 MB / 458.2 MB, free: 15.52 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: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="cs",version="2.0",platforms={"static"}) [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.002191/0.002191, allocations: 69.58 kB / 0.6339 GB, free: 7.359 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1932, allocations: 87.88 MB / 0.7197 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.006547/0.1998, allocations: 4.149 MB / 0.7238 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003213/0.203, allocations: 1.379 MB / 0.7251 GB, free: 9.918 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006998/0.2037, allocations: 31.75 kB / 0.7252 GB, free: 9.887 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005018/0.2042, allocations: 122.8 kB / 0.7253 GB, free: 9.766 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006531/0.2048, allocations: 186.4 kB / 0.7255 GB, free: 9.582 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.206, allocations: 437.1 kB / 0.7259 GB, free: 9.16 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001467/0.2074, allocations: 0.9554 MB / 0.7268 GB, free: 8.199 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007008/0.2081, allocations: 302.7 kB / 0.7271 GB, free: 7.883 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005842/0.2087, allocations: 346.7 kB / 0.7274 GB, free: 7.543 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004278/0.2091, allocations: 338.3 kB / 0.7277 GB, free: 7.211 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.2093, allocations: 95.94 kB / 0.7278 GB, free: 7.117 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.2094, allocations: 92 kB / 0.7279 GB, free: 7.027 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.2096, allocations: 175.5 kB / 0.7281 GB, free: 6.855 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003908/0.21, allocations: 386 kB / 0.7285 GB, free: 6.477 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.2113, allocations: 1.121 MB / 0.7296 GB, free: 5.352 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2113, allocations: 0 / 0.7296 GB, free: 5.352 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.464e-05/0.2113, allocations: 0 / 0.7296 GB, free: 5.352 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.512e-05/0.2113, allocations: 0 / 0.7296 GB, free: 5.352 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.002055/0.2134, allocations: 1.082 MB / 0.7306 GB, free: 4.227 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.2134, allocations: 8.031 kB / 0.7306 GB, free: 4.219 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.506e-05/0.2134, allocations: 21.44 kB / 0.7306 GB, free: 4.199 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001106/0.2135, allocations: 94.7 kB / 0.7307 GB, free: 4.098 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.2137, allocations: 92.38 kB / 0.7308 GB, free: 4.008 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009711/0.2147, allocations: 0.5038 MB / 0.7313 GB, free: 3.48 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.948e-05/0.2147, allocations: 41.69 kB / 0.7313 GB, free: 3.438 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.2148, allocations: 68.27 kB / 0.7314 GB, free: 3.371 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.216, allocations: 0.6075 MB / 0.732 GB, free: 2.738 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.216, allocations: 0 / 0.732 GB, free: 2.738 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-05/0.216, allocations: 23.98 kB / 0.732 GB, free: 2.715 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.2161, allocations: 16 kB / 0.732 GB, free: 2.699 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.2171, allocations: 465 kB / 0.7325 GB, free: 2.246 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003048/0.2202, allocations: 1.935 MB / 0.7344 GB, free: 256 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009742/0.2211, allocations: 430 kB / 0.7348 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004676/0.2216, allocations: 222.1 kB / 0.735 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.2216, allocations: 4.438 kB / 0.735 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005821/0.2222, allocations: 265.2 kB / 0.7353 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=49): time 2.325e-06/0.2222, allocations: 3.938 kB / 0.7353 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49): time 0.001424/0.2236, allocations: 0.5846 MB / 0.7358 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.2237, allocations: 55.84 kB / 0.7359 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005456/0.2242, allocations: 450 kB / 0.7363 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.681e-05/0.2243, allocations: 33.7 kB / 0.7363 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00028/0.2246, allocations: 329.6 kB / 0.7367 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.2247, allocations: 174.5 kB / 0.7368 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.2249, allocations: 98.3 kB / 0.7369 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.2251, allocations: 370.8 kB / 0.7373 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004055/0.2255, allocations: 161.2 kB / 0.7374 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004722/0.2259, allocations: 254.6 kB / 0.7377 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008775/0.2268, allocations: 451 kB / 0.7381 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.2268, allocations: 4 kB / 0.7381 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001186/0.228, allocations: 0.5651 MB / 0.7387 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.648e-05/0.2281, allocations: 39.97 kB / 0.7387 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.2281, allocations: 4 kB / 0.7387 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.2281, allocations: 4 kB / 0.7387 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005203/0.2286, allocations: 111.8 kB / 0.7388 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.2286, allocations: 8 kB / 0.7388 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003411/0.229, allocations: 59.89 kB / 0.7389 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.229, allocations: 20 kB / 0.7389 GB, free: 11.47 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.0003008/0.2293, allocations: 209.7 kB / 0.7391 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-05/0.2294, allocations: 63.56 kB / 0.7392 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001439/0.2295, allocations: 65.58 kB / 0.7392 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.2295, allocations: 4 kB / 0.7392 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2295, allocations: 0 / 0.7392 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.2296, allocations: 3.984 kB / 0.7392 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/0.2315, allocations: 1.146 MB / 0.7403 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.2315, allocations: 7.938 kB / 0.7404 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004882/0.232, allocations: 91.89 kB / 0.7404 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.232, allocations: 4 kB / 0.7404 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.615e-05/0.232, allocations: 15.98 kB / 0.7405 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.232, allocations: 4 kB / 0.7405 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.232, allocations: 0 / 0.7405 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.2335, allocations: 0.7574 MB / 0.7412 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/0.2337, allocations: 99.45 kB / 0.7413 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.9e-05/0.2338, allocations: 16 kB / 0.7413 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002871/0.234, allocations: 23.97 kB / 0.7413 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.2341, allocations: 36.38 kB / 0.7414 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.158e-05/0.2342, allocations: 12 kB / 0.7414 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003993/0.2346, allocations: 314.8 kB / 0.7417 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2346, allocations: 0 / 0.7417 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004914/0.2351, allocations: 143.6 kB / 0.7418 GB, free: 8.402 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.001785/0.2368, allocations: 1.317 MB / 0.7431 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001003/0.2379, allocations: 464.7 kB / 0.7435 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2379, allocations: 0 / 0.7435 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004638/0.2383, allocations: 206.3 kB / 0.7437 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008081/0.2391, allocations: 160.1 kB / 0.7439 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007969/0.2471, allocations: 4.806 MB / 0.7486 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007103/0.2478, allocations: 0.8861 MB / 0.7495 GB, free: 384 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002901/0.2481, allocations: 64.59 kB / 0.7495 GB, free: 320 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000332/0.2484, allocations: 219.3 kB / 0.7497 GB, free: 100 kB / 0.5606 GB Notification: Performance of SimCode: time 1.062e-06/0.2484, allocations: 8 kB / 0.7497 GB, free: 92 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3591/0.6075, allocations: 11.84 MB / 0.7613 GB, free: 29.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/12.11, allocations: 12.77 kB / 0.7613 GB, free: 29.82 MB / 0.5606 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.916823899024166] Failed to read output from testmodel.py, exit status != 0: 12.279335546016227 12.30199042 12.086433834 Calling exit ...