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.001341/0.001341, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001647/0.001647, allocations: 209.7 kB / 22.24 MB, free: 5.262 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.781 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.9613/0.9613, allocations: 145 MB / 457.4 MB, free: 15.25 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.002134/0.002134, allocations: 72.3 kB / 0.6331 GB, free: 6.711 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2074, allocations: 87.89 MB / 0.7189 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.005868/0.2133, allocations: 3.738 MB / 0.7225 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002858/0.2162, allocations: 1.325 MB / 0.7238 GB, free: 9.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004624/0.2166, allocations: 27.81 kB / 0.7239 GB, free: 9.703 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003886/0.217, allocations: 126.7 kB / 0.724 GB, free: 9.578 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003909/0.2174, allocations: 186.4 kB / 0.7242 GB, free: 9.395 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009025/0.2183, allocations: 414.1 kB / 0.7246 GB, free: 8.992 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001013/0.2193, allocations: 0.9593 MB / 0.7255 GB, free: 8.027 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000489/0.2198, allocations: 286.7 kB / 0.7258 GB, free: 7.727 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003964/0.2202, allocations: 346.7 kB / 0.7261 GB, free: 7.387 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003494/0.2205, allocations: 286.4 kB / 0.7264 GB, free: 7.105 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001281/0.2207, allocations: 92 kB / 0.7265 GB, free: 7.016 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.2208, allocations: 88 kB / 0.7265 GB, free: 6.93 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.221, allocations: 187.3 kB / 0.7267 GB, free: 6.746 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003061/0.2213, allocations: 298.6 kB / 0.727 GB, free: 6.453 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.2224, allocations: 1.128 MB / 0.7281 GB, free: 5.32 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2224, allocations: 4 kB / 0.7281 GB, free: 5.316 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2224, allocations: 0 / 0.7281 GB, free: 5.316 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.2224, allocations: 0 / 0.7281 GB, free: 5.316 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.001916/0.2243, allocations: 1.078 MB / 0.7292 GB, free: 4.195 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.2243, allocations: 12.03 kB / 0.7292 GB, free: 4.184 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001234/0.2245, allocations: 106.7 kB / 0.7293 GB, free: 4.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/0.2246, allocations: 88.38 kB / 0.7294 GB, free: 3.984 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009988/0.2256, allocations: 0.5038 MB / 0.7298 GB, free: 3.457 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.603e-05/0.2256, allocations: 41.69 kB / 0.7299 GB, free: 3.418 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.2258, allocations: 64.33 kB / 0.7299 GB, free: 3.355 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.2269, allocations: 0.6617 MB / 0.7306 GB, free: 2.656 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/0.227, allocations: 8 kB / 0.7306 GB, free: 2.648 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.928e-05/0.227, allocations: 23.94 kB / 0.7306 GB, free: 2.625 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.227, allocations: 12 kB / 0.7306 GB, free: 2.613 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.2281, allocations: 457 kB / 0.7311 GB, free: 2.168 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003169/0.2312, allocations: 1.779 MB / 0.7328 GB, free: 328 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009296/0.2322, allocations: 421 kB / 0.7332 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004458/0.2326, allocations: 226.1 kB / 0.7334 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.926e-05/0.2327, allocations: 8.422 kB / 0.7334 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005907/0.2332, allocations: 261.3 kB / 0.7337 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=49): time 2.885e-06/0.2332, allocations: 4 kB / 0.7337 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49): time 0.001432/0.2347, allocations: 0.5807 MB / 0.7343 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.088e-05/0.2348, allocations: 63.83 kB / 0.7343 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005994/0.2354, allocations: 446.7 kB / 0.7347 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.988e-05/0.2354, allocations: 37.7 kB / 0.7348 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002831/0.2357, allocations: 328.9 kB / 0.7351 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.2358, allocations: 182.4 kB / 0.7353 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.236, allocations: 94.33 kB / 0.7354 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.2362, allocations: 362.8 kB / 0.7357 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004068/0.2366, allocations: 190.9 kB / 0.7359 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004841/0.2371, allocations: 284.4 kB / 0.7362 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000828/0.2379, allocations: 447 kB / 0.7366 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.2379, allocations: 0 / 0.7366 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001134/0.239, allocations: 0.6019 MB / 0.7372 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.15e-05/0.2391, allocations: 33.7 kB / 0.7372 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.2391, allocations: 4 kB / 0.7372 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.2391, allocations: 4 kB / 0.7372 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005062/0.2396, allocations: 116.1 kB / 0.7373 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.2396, allocations: 11.98 kB / 0.7373 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003371/0.24, allocations: 55.66 kB / 0.7374 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.722e-05/0.24, allocations: 16 kB / 0.7374 GB, free: 11.45 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.0002998/0.2403, allocations: 210.3 kB / 0.7376 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.531e-05/0.2404, allocations: 67.55 kB / 0.7377 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.2405, allocations: 61.59 kB / 0.7377 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.2405, allocations: 11.92 kB / 0.7377 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.2406, allocations: 8 kB / 0.7377 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.2406, allocations: 0 / 0.7377 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/0.2424, allocations: 1.076 MB / 0.7388 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.2424, allocations: 0 / 0.7388 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004658/0.2429, allocations: 95.88 kB / 0.7389 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.2429, allocations: 0 / 0.7389 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.2429, allocations: 12 kB / 0.7389 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.942e-06/0.2429, allocations: 8 kB / 0.7389 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2429, allocations: 0 / 0.7389 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.2443, allocations: 0.7651 MB / 0.7397 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001956/0.2445, allocations: 87.59 kB / 0.7397 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.689e-05/0.2446, allocations: 15.98 kB / 0.7397 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002957/0.2449, allocations: 27.98 kB / 0.7398 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.885e-05/0.2449, allocations: 36.36 kB / 0.7398 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.69e-05/0.245, allocations: 12 kB / 0.7398 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003684/0.2453, allocations: 310.9 kB / 0.7401 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2453, allocations: 0 / 0.7401 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004655/0.2458, allocations: 147.6 kB / 0.7403 GB, free: 8.445 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.001707/0.2475, allocations: 1.317 MB / 0.7415 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009873/0.2485, allocations: 494.4 kB / 0.742 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2485, allocations: 4.438 kB / 0.742 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004315/0.2489, allocations: 206.4 kB / 0.7422 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007834/0.2497, allocations: 161 kB / 0.7424 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007697/0.2574, allocations: 4.915 MB / 0.7472 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.2578, allocations: 292.7 kB / 0.7474 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003338/0.2581, allocations: 64.59 kB / 0.7475 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003555/0.2585, allocations: 219.4 kB / 0.7477 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of SimCode: time 1.713e-06/0.2585, allocations: 0 / 0.7477 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4421/0.7006, allocations: 12.42 MB / 0.7599 GB, free: 29.07 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12.14, allocations: 12.77 kB / 0.7599 GB, free: 29.06 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 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: 16.52928433381021] Failed to read output from testmodel.py, exit status != 0: 12.248722199816257 12.263147474 12.036023843 Calling exit ...