Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.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.001343/0.001343, 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.00165/0.00165, allocations: 215.2 kB / 22.25 MB, free: 4.859 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.445/1.445, allocations: 230.6 MB / 256 MB, free: 7.809 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.9319/0.9319, allocations: 145 MB / 457.4 MB, free: 15.27 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.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",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.002173/0.002173, allocations: 76.52 kB / 0.6331 GB, free: 6.73 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1963, allocations: 87.89 MB / 0.7189 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005183/0.2014, allocations: 2.96 MB / 0.7218 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00233/0.2038, allocations: 0.9778 MB / 0.7228 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004347/0.2042, allocations: 19.88 kB / 0.7228 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003505/0.2045, allocations: 75.19 kB / 0.7228 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.2049, allocations: 107.1 kB / 0.7229 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006977/0.2056, allocations: 246.4 kB / 0.7232 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007345/0.2063, allocations: 0.5544 MB / 0.7237 GB, free: 9.902 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003933/0.2067, allocations: 171.9 kB / 0.7239 GB, free: 9.727 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003727/0.2071, allocations: 223 kB / 0.7241 GB, free: 9.508 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002894/0.2074, allocations: 183 kB / 0.7243 GB, free: 9.328 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001582/0.2075, allocations: 52 kB / 0.7243 GB, free: 9.277 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.2077, allocations: 56 kB / 0.7244 GB, free: 9.223 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.2078, allocations: 115.5 kB / 0.7245 GB, free: 9.109 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000227/0.208, allocations: 183 kB / 0.7247 GB, free: 8.93 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008077/0.2088, allocations: 0.6224 MB / 0.7253 GB, free: 8.305 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2088, allocations: 4 kB / 0.7253 GB, free: 8.301 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2088, allocations: 0 / 0.7253 GB, free: 8.301 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.972e-05/0.2088, allocations: 0 / 0.7253 GB, free: 8.301 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001532/0.2104, allocations: 0.7136 MB / 0.726 GB, free: 7.555 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.2104, allocations: 8.031 kB / 0.726 GB, free: 7.547 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001096/0.2105, allocations: 74.72 kB / 0.726 GB, free: 7.465 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002497/0.2108, allocations: 64.59 kB / 0.7261 GB, free: 7.402 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008324/0.2116, allocations: 369.7 kB / 0.7265 GB, free: 7.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.963e-05/0.2117, allocations: 29.38 kB / 0.7265 GB, free: 6.992 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.714e-05/0.2118, allocations: 40.36 kB / 0.7265 GB, free: 6.953 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008114/0.2126, allocations: 453.1 kB / 0.727 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.2126, allocations: 3.938 kB / 0.727 GB, free: 6.465 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.937e-05/0.2126, allocations: 16 kB / 0.727 GB, free: 6.449 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.2126, allocations: 12 kB / 0.727 GB, free: 6.438 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005938/0.2132, allocations: 267.8 kB / 0.7272 GB, free: 6.18 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/0.2151, allocations: 1.119 MB / 0.7283 GB, free: 5.004 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007184/0.2158, allocations: 297.5 kB / 0.7286 GB, free: 4.707 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002677/0.2161, allocations: 124.8 kB / 0.7287 GB, free: 4.582 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/0.2161, allocations: 4 kB / 0.7287 GB, free: 4.578 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003615/0.2165, allocations: 174.1 kB / 0.7289 GB, free: 4.395 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.914e-06/0.2165, allocations: 0 / 0.7289 GB, free: 4.395 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.0008958/0.2174, allocations: 394.7 kB / 0.7293 GB, free: 4.004 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.871e-05/0.2175, allocations: 85.05 kB / 0.7294 GB, free: 3.902 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004812/0.218, allocations: 357.6 kB / 0.7297 GB, free: 3.551 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.912e-05/0.218, allocations: 37.7 kB / 0.7297 GB, free: 3.508 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002631/0.2183, allocations: 237.3 kB / 0.73 GB, free: 3.273 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.2184, allocations: 115.1 kB / 0.7301 GB, free: 3.16 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.2186, allocations: 74.06 kB / 0.7302 GB, free: 3.078 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002024/0.2188, allocations: 346.8 kB / 0.7305 GB, free: 2.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/0.219, allocations: 100.7 kB / 0.7306 GB, free: 2.633 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003296/0.2193, allocations: 186.3 kB / 0.7308 GB, free: 2.418 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005404/0.2199, allocations: 263.8 kB / 0.731 GB, free: 2.141 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.2199, allocations: 7.938 kB / 0.731 GB, free: 2.133 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007651/0.2207, allocations: 346.7 kB / 0.7313 GB, free: 1.789 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.2207, allocations: 12.19 kB / 0.7314 GB, free: 1.777 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.2207, allocations: 0 / 0.7314 GB, free: 1.777 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.741e-05/0.2207, allocations: 4 kB / 0.7314 GB, free: 1.773 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.221, allocations: 67.84 kB / 0.7314 GB, free: 1.707 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/0.221, allocations: 7.984 kB / 0.7314 GB, free: 1.699 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/0.2213, allocations: 35.77 kB / 0.7315 GB, free: 1.664 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.2213, allocations: 16 kB / 0.7315 GB, free: 1.648 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * 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.0002621/0.2216, allocations: 174.3 kB / 0.7316 GB, free: 1.469 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.442e-05/0.2217, allocations: 47.7 kB / 0.7317 GB, free: 1.422 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.2218, allocations: 44.25 kB / 0.7317 GB, free: 1.371 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.2218, allocations: 4 kB / 0.7317 GB, free: 1.367 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.2218, allocations: 0 / 0.7317 GB, free: 1.367 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.2218, allocations: 7.969 kB / 0.7317 GB, free: 1.359 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.2232, allocations: 0.741 MB / 0.7325 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.2232, allocations: 8 kB / 0.7325 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002497/0.2235, allocations: 43.92 kB / 0.7325 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.2235, allocations: 0 / 0.7325 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.2235, allocations: 15.98 kB / 0.7325 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.2235, allocations: 0 / 0.7325 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2235, allocations: 0 / 0.7325 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009261/0.2245, allocations: 0.5246 MB / 0.733 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.2246, allocations: 55.7 kB / 0.7331 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.196e-05/0.2246, allocations: 15.94 kB / 0.7331 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.2248, allocations: 15.98 kB / 0.7331 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.826e-05/0.2249, allocations: 28.02 kB / 0.7332 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.2249, allocations: 11.98 kB / 0.7332 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003145/0.2252, allocations: 247.1 kB / 0.7334 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2252, allocations: 0 / 0.7334 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004126/0.2257, allocations: 79.84 kB / 0.7335 GB, free: 15.52 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001361/0.227, allocations: 1.071 MB / 0.7345 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006548/0.2277, allocations: 252.7 kB / 0.7348 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.2277, allocations: 0 / 0.7348 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002625/0.2279, allocations: 131.7 kB / 0.7349 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005537/0.2285, allocations: 83.45 kB / 0.735 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005286/0.2338, allocations: 3.463 MB / 0.7384 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.234, allocations: 211.8 kB / 0.7386 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001954/0.2342, allocations: 43.27 kB / 0.7386 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002276/0.2344, allocations: 143.3 kB / 0.7387 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of SimCode: time 7.32e-07/0.2344, allocations: 0 / 0.7387 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04317/0.2776, allocations: 8.299 MB / 0.7468 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.69, allocations: 9.812 kB / 0.7469 GB, free: 1.891 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.728322063107044] Failed to read output from testmodel.py, exit status != 0: 11.808407237753272 12.110532514 11.898672416 Calling exit ...