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.001319/0.001319, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001371/0.001371, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.489/1.489, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.9726/0.9726, allocations: 144.9 MB / 454.5 MB, free: 10.4 MB / 350.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",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.001965/0.001965, allocations: 66 kB / 0.6287 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1833, allocations: 87.84 MB / 0.7145 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004871/0.1881, allocations: 3.173 MB / 0.7176 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002093/0.1902, allocations: 1.032 MB / 0.7186 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003209/0.1906, allocations: 19.88 kB / 0.7186 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.1908, allocations: 71.25 kB / 0.7186 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002039/0.191, allocations: 95.11 kB / 0.7187 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006186/0.1916, allocations: 258.5 kB / 0.719 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005933/0.1922, allocations: 0.5465 MB / 0.7195 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003528/0.1926, allocations: 179.7 kB / 0.7197 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003213/0.1929, allocations: 223.1 kB / 0.7199 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002683/0.1932, allocations: 202.9 kB / 0.7201 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.619e-05/0.1932, allocations: 52 kB / 0.7201 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.1934, allocations: 67.98 kB / 0.7202 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.1935, allocations: 107.6 kB / 0.7203 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002186/0.1937, allocations: 234.8 kB / 0.7205 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009179/0.1946, allocations: 0.6146 MB / 0.7211 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1946, allocations: 0 / 0.7211 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.154e-06/0.1946, allocations: 4 kB / 0.7211 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.1946, allocations: 0 / 0.7211 GB, free: 4.895 MB / 0.5294 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.001388/0.196, allocations: 0.7889 MB / 0.7219 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.621e-05/0.1961, allocations: 12.03 kB / 0.7219 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.679e-05/0.1961, allocations: 13.12 kB / 0.7219 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.315e-05/0.1962, allocations: 74.72 kB / 0.722 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002133/0.1964, allocations: 64.59 kB / 0.7221 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007387/0.1971, allocations: 424.9 kB / 0.7225 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.18e-05/0.1972, allocations: 29.38 kB / 0.7225 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.055e-05/0.1972, allocations: 40.38 kB / 0.7225 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007011/0.1979, allocations: 401.5 kB / 0.7229 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.198, allocations: 3.984 kB / 0.7229 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.52e-05/0.198, allocations: 12 kB / 0.7229 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.198, allocations: 8 kB / 0.7229 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005798/0.1986, allocations: 263.8 kB / 0.7232 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001845/0.2004, allocations: 1.317 MB / 0.7245 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007119/0.2011, allocations: 295.3 kB / 0.7248 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002645/0.2014, allocations: 124.8 kB / 0.7249 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.413e-05/0.2014, allocations: 4 kB / 0.7249 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003561/0.2018, allocations: 174.1 kB / 0.7251 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 2.375e-06/0.2018, allocations: 0 / 0.7251 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.0008634/0.2027, allocations: 395.3 kB / 0.7254 GB, free: 276 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.77e-05/0.2027, allocations: 81.11 kB / 0.7255 GB, free: 176 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004114/0.2031, allocations: 353.6 kB / 0.7258 GB, free: 15.82 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.2032, allocations: 37.7 kB / 0.7259 GB, free: 15.78 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.2034, allocations: 240.7 kB / 0.7261 GB, free: 15.54 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.945e-05/0.2035, allocations: 111 kB / 0.7262 GB, free: 15.43 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.2036, allocations: 78.02 kB / 0.7263 GB, free: 15.34 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.2038, allocations: 350.8 kB / 0.7266 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.204, allocations: 96.7 kB / 0.7267 GB, free: 14.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000289/0.2043, allocations: 173.5 kB / 0.7269 GB, free: 14.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004869/0.2048, allocations: 264.4 kB / 0.7271 GB, free: 14.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2048, allocations: 4 kB / 0.7271 GB, free: 14.42 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006381/0.2054, allocations: 342.8 kB / 0.7275 GB, free: 14.08 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.2054, allocations: 8 kB / 0.7275 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.2054, allocations: 3.938 kB / 0.7275 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.2055, allocations: 4 kB / 0.7275 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/0.2058, allocations: 68.09 kB / 0.7275 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.2058, allocations: 4 kB / 0.7276 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.206, allocations: 43.72 kB / 0.7276 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.206, allocations: 12 kB / 0.7276 GB, free: 13.94 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.0002083/0.2062, allocations: 174 kB / 0.7278 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.734e-05/0.2063, allocations: 39.77 kB / 0.7278 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.2064, allocations: 44.25 kB / 0.7279 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.2064, allocations: 8 kB / 0.7279 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2064, allocations: 0 / 0.7279 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.2064, allocations: 7.922 kB / 0.7279 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/0.2076, allocations: 0.807 MB / 0.7287 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.2076, allocations: 3.984 kB / 0.7287 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/0.2079, allocations: 47.91 kB / 0.7287 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.2079, allocations: 4 kB / 0.7287 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/0.2079, allocations: 8 kB / 0.7287 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.2079, allocations: 8 kB / 0.7287 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2079, allocations: 0 / 0.7287 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008957/0.2088, allocations: 0.517 MB / 0.7292 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.2089, allocations: 140.8 kB / 0.7294 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.877e-05/0.209, allocations: 12 kB / 0.7294 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.2092, allocations: 20.05 kB / 0.7294 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.562e-05/0.2093, allocations: 23.97 kB / 0.7294 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.2093, allocations: 11.92 kB / 0.7294 GB, free: 11.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002713/0.2095, allocations: 243.2 kB / 0.7297 GB, free: 11.74 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2095, allocations: 0 / 0.7297 GB, free: 11.74 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000373/0.2099, allocations: 91.7 kB / 0.7297 GB, free: 11.65 MB / 0.545 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.001276/0.2112, allocations: 1.071 MB / 0.7308 GB, free: 10.56 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000657/0.2119, allocations: 244.2 kB / 0.731 GB, free: 10.32 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.2119, allocations: 4 kB / 0.731 GB, free: 10.32 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002705/0.2121, allocations: 136.3 kB / 0.7312 GB, free: 10.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005763/0.2127, allocations: 88.27 kB / 0.7312 GB, free: 10.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005482/0.2182, allocations: 3.461 MB / 0.7346 GB, free: 6.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005198/0.2187, allocations: 0.8152 MB / 0.7354 GB, free: 5.672 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002131/0.2189, allocations: 47.27 kB / 0.7355 GB, free: 5.625 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/0.2192, allocations: 143.4 kB / 0.7356 GB, free: 5.488 MB / 0.545 GB Notification: Performance of SimCode: time 1.052e-06/0.2192, allocations: 0 / 0.7356 GB, free: 5.488 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03222/0.2514, allocations: 7.55 MB / 0.743 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.84/9.091, allocations: 13 kB / 0.743 GB, free: 14.14 MB / 0.5606 GB " [Timeout remaining time 651] (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: 13.117626843973994] Failed to read output from testmodel.py, exit status != 0: 9.228978355997242 9.255990256 9.056549788 Calling exit ...