Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.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.001654/0.001654, 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.001529/0.001529, allocations: 210.5 kB / 22.24 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.801 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.983/0.983, 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.PIDHysteresis,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",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.00222/0.00222, allocations: 70.45 kB / 0.6331 GB, free: 6.75 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1797, allocations: 87.89 MB / 0.7189 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.00475/0.1845, allocations: 2.82 MB / 0.7217 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002095/0.1866, allocations: 0.9314 MB / 0.7226 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000346/0.1869, allocations: 19.88 kB / 0.7226 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002811/0.1872, allocations: 63.33 kB / 0.7226 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002747/0.1875, allocations: 95.17 kB / 0.7227 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000636/0.1881, allocations: 230.4 kB / 0.723 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006278/0.1887, allocations: 0.4911 MB / 0.7234 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003338/0.1891, allocations: 142.2 kB / 0.7236 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003497/0.1894, allocations: 191.2 kB / 0.7238 GB, free: 9.887 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.1897, allocations: 163.1 kB / 0.7239 GB, free: 9.727 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.491e-05/0.1898, allocations: 40 kB / 0.7239 GB, free: 9.688 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.971e-05/0.1899, allocations: 48 kB / 0.724 GB, free: 9.641 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.999e-05/0.1899, allocations: 95.62 kB / 0.7241 GB, free: 9.547 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000164/0.1901, allocations: 159.1 kB / 0.7242 GB, free: 9.391 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006568/0.1908, allocations: 0.5407 MB / 0.7248 GB, free: 8.848 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1908, allocations: 3.938 kB / 0.7248 GB, free: 8.844 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1908, allocations: 0 / 0.7248 GB, free: 8.844 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.408e-05/0.1908, allocations: 0 / 0.7248 GB, free: 8.844 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.00126/0.192, allocations: 0.6566 MB / 0.7254 GB, free: 8.156 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1921, allocations: 12.03 kB / 0.7254 GB, free: 8.145 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.682e-05/0.1922, allocations: 66.72 kB / 0.7255 GB, free: 8.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002109/0.1924, allocations: 52.66 kB / 0.7255 GB, free: 8.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007431/0.1931, allocations: 357.4 kB / 0.7259 GB, free: 7.648 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.614e-05/0.1932, allocations: 21.03 kB / 0.7259 GB, free: 7.629 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.468e-05/0.1932, allocations: 32.38 kB / 0.7259 GB, free: 7.598 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006821/0.1939, allocations: 414.5 kB / 0.7263 GB, free: 7.145 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.1939, allocations: 4 kB / 0.7263 GB, free: 7.141 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.194, allocations: 8 kB / 0.7263 GB, free: 7.133 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.194, allocations: 8 kB / 0.7263 GB, free: 7.125 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004997/0.1945, allocations: 222.5 kB / 0.7266 GB, free: 6.91 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/0.1961, allocations: 1.008 MB / 0.7275 GB, free: 5.844 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006096/0.1967, allocations: 230.6 kB / 0.7278 GB, free: 5.609 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002293/0.197, allocations: 107.3 kB / 0.7279 GB, free: 5.504 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.197, allocations: 4 kB / 0.7279 GB, free: 5.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.197, allocations: 38.88 kB / 0.7279 GB, free: 5.453 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.704e-06/0.197, allocations: 0 / 0.7279 GB, free: 5.453 MB / 0.545 GB Notification: Performance of matching and sorting (n=22): time 0.0007399/0.1978, allocations: 298.9 kB / 0.7282 GB, free: 5.156 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.889e-05/0.1978, allocations: 106.8 kB / 0.7283 GB, free: 5.027 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004035/0.1982, allocations: 341.7 kB / 0.7286 GB, free: 4.684 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/0.1983, allocations: 33.7 kB / 0.7286 GB, free: 4.645 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.1985, allocations: 220.5 kB / 0.7289 GB, free: 4.426 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.836e-05/0.1986, allocations: 79.33 kB / 0.7289 GB, free: 4.348 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.666e-05/0.1987, allocations: 49.7 kB / 0.729 GB, free: 4.293 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.1988, allocations: 346.8 kB / 0.7293 GB, free: 3.945 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.199, allocations: 79.97 kB / 0.7294 GB, free: 3.867 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.1993, allocations: 207 kB / 0.7296 GB, free: 3.625 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004119/0.1997, allocations: 201.9 kB / 0.7298 GB, free: 3.406 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.1997, allocations: 7.969 kB / 0.7298 GB, free: 3.398 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005552/0.2003, allocations: 285.1 kB / 0.7301 GB, free: 3.117 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.2003, allocations: 8 kB / 0.7301 GB, free: 3.109 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2003, allocations: 0 / 0.7301 GB, free: 3.109 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.2003, allocations: 4 kB / 0.7301 GB, free: 3.105 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.2006, allocations: 51.91 kB / 0.7301 GB, free: 3.055 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.2006, allocations: 8.188 kB / 0.7301 GB, free: 3.047 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.2008, allocations: 31.83 kB / 0.7302 GB, free: 3.016 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.2008, allocations: 12 kB / 0.7302 GB, free: 3.004 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: 3 (con.hys.y,$PRE.con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0002046/0.201, allocations: 169.6 kB / 0.7303 GB, free: 2.828 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.017e-05/0.2011, allocations: 35.77 kB / 0.7304 GB, free: 2.793 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.2012, allocations: 35.45 kB / 0.7304 GB, free: 2.758 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2012, allocations: 4 kB / 0.7304 GB, free: 2.754 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.2012, allocations: 0 / 0.7304 GB, free: 2.754 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2012, allocations: 4 kB / 0.7304 GB, free: 2.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004829/0.2017, allocations: 340.4 kB / 0.7307 GB, free: 2.375 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.2017, allocations: 0 / 0.7307 GB, free: 2.375 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.2019, allocations: 39.92 kB / 0.7308 GB, free: 2.336 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.2019, allocations: 0 / 0.7308 GB, free: 2.336 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.2019, allocations: 11.98 kB / 0.7308 GB, free: 2.324 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.202, allocations: 0 / 0.7308 GB, free: 2.324 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.202, allocations: 0 / 0.7308 GB, free: 2.324 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007529/0.2027, allocations: 432.2 kB / 0.7312 GB, free: 1.887 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.2028, allocations: 47.78 kB / 0.7312 GB, free: 1.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.2029, allocations: 4 kB / 0.7312 GB, free: 1.836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.2031, allocations: 19.91 kB / 0.7313 GB, free: 1.816 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.112e-05/0.2031, allocations: 19.97 kB / 0.7313 GB, free: 1.797 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.2031, allocations: 8 kB / 0.7313 GB, free: 1.789 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002669/0.2034, allocations: 243.2 kB / 0.7315 GB, free: 1.551 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2034, allocations: 0 / 0.7315 GB, free: 1.551 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003305/0.2037, allocations: 75.78 kB / 0.7316 GB, free: 1.477 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.001048/0.2048, allocations: 0.9649 MB / 0.7325 GB, free: 500 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004801/0.2053, allocations: 187.7 kB / 0.7327 GB, free: 312 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2053, allocations: 0 / 0.7327 GB, free: 312 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000245/0.2055, allocations: 100.3 kB / 0.7328 GB, free: 212 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005362/0.206, allocations: 79.08 kB / 0.7329 GB, free: 136 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004665/0.2107, allocations: 3.138 MB / 0.7359 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.2109, allocations: 191.1 kB / 0.7361 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001817/0.2111, allocations: 42.95 kB / 0.7362 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002072/0.2113, allocations: 119.4 kB / 0.7363 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of SimCode: time 9.42e-07/0.2113, allocations: 0 / 0.7363 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04159/0.2529, allocations: 7.516 MB / 0.7436 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.65, allocations: 13.19 kB / 0.7436 GB, free: 5.207 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis.fmu > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.816137758083642] Failed to read output from testmodel.py, exit status != 0: 11.759467208757997 12.040462697 11.846817947 Calling exit ...