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.001461/0.001461, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001984/0.001984, allocations: 211.4 kB / 22.24 MB, free: 4.855 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.805 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.9211/0.9211, allocations: 145 MB / 457.4 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: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",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.002305/0.002305, allocations: 62.34 kB / 0.6331 GB, free: 6.77 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1946, allocations: 87.88 MB / 0.7189 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.005993/0.2006, allocations: 3.74 MB / 0.7225 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003039/0.2037, allocations: 1.325 MB / 0.7238 GB, free: 9.82 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006548/0.2043, allocations: 27.81 kB / 0.7239 GB, free: 9.793 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005078/0.2048, allocations: 126.7 kB / 0.724 GB, free: 9.668 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005771/0.2054, allocations: 182.4 kB / 0.7242 GB, free: 9.488 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.2064, allocations: 421.3 kB / 0.7246 GB, free: 9.082 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001061/0.2075, allocations: 0.9554 MB / 0.7255 GB, free: 8.121 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005179/0.208, allocations: 290.7 kB / 0.7258 GB, free: 7.816 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004238/0.2084, allocations: 342.7 kB / 0.7261 GB, free: 7.48 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003778/0.2088, allocations: 294.4 kB / 0.7264 GB, free: 7.191 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.2089, allocations: 92 kB / 0.7265 GB, free: 7.102 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.209, allocations: 88 kB / 0.7265 GB, free: 7.016 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.2092, allocations: 183.3 kB / 0.7267 GB, free: 6.836 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003056/0.2095, allocations: 298.5 kB / 0.727 GB, free: 6.543 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.2107, allocations: 1.132 MB / 0.7281 GB, free: 5.406 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2107, allocations: 4 kB / 0.7281 GB, free: 5.402 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.983e-06/0.2107, allocations: 0 / 0.7281 GB, free: 5.402 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.735e-05/0.2107, allocations: 0 / 0.7281 GB, free: 5.402 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.002051/0.2128, allocations: 1.076 MB / 0.7292 GB, free: 4.281 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/0.2128, allocations: 12.03 kB / 0.7292 GB, free: 4.27 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001183/0.2129, allocations: 98.69 kB / 0.7293 GB, free: 4.164 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.2131, allocations: 92.38 kB / 0.7294 GB, free: 4.074 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.2141, allocations: 0.496 MB / 0.7298 GB, free: 3.555 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.622e-05/0.2141, allocations: 45.69 kB / 0.7299 GB, free: 3.512 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.2143, allocations: 68.31 kB / 0.7299 GB, free: 3.445 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.2154, allocations: 0.6656 MB / 0.7306 GB, free: 2.742 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.2154, allocations: 0 / 0.7306 GB, free: 2.742 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.372e-05/0.2155, allocations: 24 kB / 0.7306 GB, free: 2.719 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.2155, allocations: 12 kB / 0.7306 GB, free: 2.707 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.2165, allocations: 464.9 kB / 0.7311 GB, free: 2.254 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002921/0.2194, allocations: 1.775 MB / 0.7328 GB, free: 420 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009481/0.2204, allocations: 422.3 kB / 0.7332 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004609/0.2208, allocations: 226 kB / 0.7334 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.383e-05/0.2209, allocations: 4.438 kB / 0.7334 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005728/0.2215, allocations: 257.3 kB / 0.7337 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=49): time 2.665e-06/0.2215, allocations: 7.938 kB / 0.7337 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49): time 0.001366/0.2228, allocations: 0.5885 MB / 0.7343 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.2229, allocations: 59.84 kB / 0.7343 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005538/0.2234, allocations: 446.7 kB / 0.7347 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.935e-05/0.2235, allocations: 37.7 kB / 0.7348 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002837/0.2238, allocations: 332.8 kB / 0.7351 GB, free: 14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.2239, allocations: 178.5 kB / 0.7353 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.2241, allocations: 94.33 kB / 0.7354 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001867/0.2243, allocations: 358.8 kB / 0.7357 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004215/0.2247, allocations: 198.9 kB / 0.7359 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000499/0.2252, allocations: 276.4 kB / 0.7362 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008703/0.2261, allocations: 451 kB / 0.7366 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.2261, allocations: 4 kB / 0.7366 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001203/0.2273, allocations: 0.598 MB / 0.7372 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.595e-05/0.2273, allocations: 37.69 kB / 0.7372 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.2273, allocations: 0 / 0.7372 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.2273, allocations: 4 kB / 0.7372 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005098/0.2279, allocations: 116.1 kB / 0.7373 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.2279, allocations: 11.98 kB / 0.7373 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003392/0.2282, allocations: 55.66 kB / 0.7374 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.002e-05/0.2282, allocations: 23.92 kB / 0.7374 GB, free: 11.53 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.0003125/0.2286, allocations: 202.9 kB / 0.7376 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.622e-05/0.2286, allocations: 67.5 kB / 0.7377 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001514/0.2288, allocations: 65.58 kB / 0.7377 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.2288, allocations: 4 kB / 0.7377 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.2288, allocations: 0 / 0.7377 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.2288, allocations: 8 kB / 0.7377 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/0.2307, allocations: 1.076 MB / 0.7388 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2307, allocations: 0 / 0.7388 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004759/0.2312, allocations: 95.88 kB / 0.7389 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.2312, allocations: 0 / 0.7389 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-05/0.2312, allocations: 12 kB / 0.7389 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.2313, allocations: 8 kB / 0.7389 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.2313, allocations: 3.984 kB / 0.7389 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/0.2327, allocations: 0.7651 MB / 0.7397 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001959/0.2329, allocations: 95.58 kB / 0.7397 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.514e-05/0.2329, allocations: 8 kB / 0.7398 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002881/0.2332, allocations: 27.98 kB / 0.7398 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.2333, allocations: 36.36 kB / 0.7398 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.2333, allocations: 12 kB / 0.7398 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004051/0.2338, allocations: 310.9 kB / 0.7401 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2338, allocations: 3.938 kB / 0.7401 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004826/0.2342, allocations: 147.6 kB / 0.7403 GB, free: 8.527 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.001769/0.236, allocations: 1.323 MB / 0.7416 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00103/0.237, allocations: 490.4 kB / 0.742 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.237, allocations: 0.5 kB / 0.742 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004269/0.2375, allocations: 206.4 kB / 0.7422 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008054/0.2383, allocations: 143.8 kB / 0.7424 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007727/0.246, allocations: 4.917 MB / 0.7472 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.2463, allocations: 292.7 kB / 0.7474 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003032/0.2466, allocations: 64.59 kB / 0.7475 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003168/0.2469, allocations: 215.4 kB / 0.7477 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of SimCode: time 6.11e-07/0.2469, allocations: 4 kB / 0.7477 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3887/0.6356, allocations: 12.43 MB / 0.7599 GB, free: 29.18 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.94, allocations: 1.531 kB / 0.7599 GB, free: 29.18 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.944656726904213] Failed to read output from testmodel.py, exit status != 0: 12.066713749896735 12.078554217 11.865314712 Calling exit ...