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.001369/0.001369, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001629/0.001629, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.9418/0.9418, allocations: 145 MB / 458.2 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.Obsolete.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",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.001927/0.001927, allocations: 61.78 kB / 0.6338 GB, free: 6.727 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1824, allocations: 87.88 MB / 0.7197 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004746/0.1872, allocations: 2.827 MB / 0.7224 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002107/0.1893, allocations: 0.9274 MB / 0.7233 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002773/0.1896, allocations: 15.88 kB / 0.7233 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000273/0.1898, allocations: 63.33 kB / 0.7234 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002098/0.19, allocations: 95.17 kB / 0.7235 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006085/0.1906, allocations: 230.6 kB / 0.7237 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005511/0.1912, allocations: 0.495 MB / 0.7242 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003153/0.1915, allocations: 150.2 kB / 0.7243 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000316/0.1918, allocations: 191.2 kB / 0.7245 GB, free: 9.852 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.1921, allocations: 183 kB / 0.7247 GB, free: 9.672 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.317e-05/0.1921, allocations: 44 kB / 0.7247 GB, free: 9.629 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.06e-05/0.1922, allocations: 44 kB / 0.7248 GB, free: 9.586 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.717e-05/0.1923, allocations: 91.64 kB / 0.7249 GB, free: 9.496 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.1925, allocations: 163.1 kB / 0.725 GB, free: 9.336 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006467/0.1931, allocations: 0.5407 MB / 0.7256 GB, free: 8.793 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.1931, allocations: 4 kB / 0.7256 GB, free: 8.789 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1931, allocations: 0 / 0.7256 GB, free: 8.789 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.1931, allocations: 0 / 0.7256 GB, free: 8.789 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.001128/0.1942, allocations: 0.6489 MB / 0.7262 GB, free: 8.109 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.1943, allocations: 8.031 kB / 0.7262 GB, free: 8.102 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.262e-05/0.1943, allocations: 8.844 kB / 0.7262 GB, free: 8.094 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.425e-05/0.1944, allocations: 70.66 kB / 0.7263 GB, free: 8.016 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/0.1946, allocations: 60.64 kB / 0.7263 GB, free: 7.957 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006603/0.1952, allocations: 350.7 kB / 0.7267 GB, free: 7.59 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.1953, allocations: 21.03 kB / 0.7267 GB, free: 7.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.52e-05/0.1953, allocations: 32.38 kB / 0.7267 GB, free: 7.539 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006563/0.196, allocations: 410.4 kB / 0.7271 GB, free: 7.094 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.196, allocations: 11.92 kB / 0.7271 GB, free: 7.082 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.196, allocations: 8 kB / 0.7271 GB, free: 7.074 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.196, allocations: 11.94 kB / 0.7271 GB, free: 7.062 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004887/0.1965, allocations: 218.5 kB / 0.7273 GB, free: 6.848 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.1981, allocations: 1.008 MB / 0.7283 GB, free: 5.781 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006013/0.1987, allocations: 230.7 kB / 0.7286 GB, free: 5.547 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/0.1989, allocations: 104.8 kB / 0.7287 GB, free: 5.441 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/0.1989, allocations: 3.984 kB / 0.7287 GB, free: 5.438 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.199, allocations: 38.88 kB / 0.7287 GB, free: 5.391 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.823e-06/0.199, allocations: 0 / 0.7287 GB, free: 5.391 MB / 0.545 GB Notification: Performance of matching and sorting (n=22): time 0.0007306/0.1997, allocations: 294.8 kB / 0.729 GB, free: 5.098 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/0.1998, allocations: 106.8 kB / 0.7291 GB, free: 4.969 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003815/0.2001, allocations: 337.7 kB / 0.7294 GB, free: 4.629 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.2002, allocations: 33.7 kB / 0.7294 GB, free: 4.59 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.2003, allocations: 220.5 kB / 0.7296 GB, free: 4.371 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.527e-05/0.2004, allocations: 87.27 kB / 0.7297 GB, free: 4.285 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.372e-05/0.2005, allocations: 49.7 kB / 0.7298 GB, free: 4.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.2007, allocations: 342.8 kB / 0.7301 GB, free: 3.887 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.2009, allocations: 79.95 kB / 0.7302 GB, free: 3.809 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/0.2011, allocations: 191.1 kB / 0.7304 GB, free: 3.582 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003983/0.2015, allocations: 211.8 kB / 0.7306 GB, free: 3.355 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.2015, allocations: 4 kB / 0.7306 GB, free: 3.352 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005603/0.2021, allocations: 279.2 kB / 0.7308 GB, free: 3.074 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.2021, allocations: 8 kB / 0.7308 GB, free: 3.066 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.2021, allocations: 0 / 0.7308 GB, free: 3.066 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.2021, allocations: 4 kB / 0.7308 GB, free: 3.062 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.2024, allocations: 55.91 kB / 0.7309 GB, free: 3.008 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.2024, allocations: 4 kB / 0.7309 GB, free: 3.004 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.2026, allocations: 39.75 kB / 0.7309 GB, free: 2.965 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.2026, allocations: 12.19 kB / 0.7309 GB, free: 2.953 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.0001797/0.2028, allocations: 161.7 kB / 0.7311 GB, free: 2.785 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.725e-05/0.2029, allocations: 35.77 kB / 0.7311 GB, free: 2.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.544e-05/0.2029, allocations: 43.45 kB / 0.7312 GB, free: 2.707 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.2029, allocations: 0 / 0.7312 GB, free: 2.707 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.203, allocations: 0 / 0.7312 GB, free: 2.707 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.203, allocations: 7.922 kB / 0.7312 GB, free: 2.699 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004329/0.2034, allocations: 336.4 kB / 0.7315 GB, free: 2.328 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2034, allocations: 0 / 0.7315 GB, free: 2.328 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.2036, allocations: 43.97 kB / 0.7315 GB, free: 2.285 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.2036, allocations: 4 kB / 0.7316 GB, free: 2.281 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.2037, allocations: 4 kB / 0.7316 GB, free: 2.277 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.2037, allocations: 3.938 kB / 0.7316 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.2037, allocations: 0 / 0.7316 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007323/0.2044, allocations: 434.5 kB / 0.732 GB, free: 1.836 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.2045, allocations: 63.69 kB / 0.732 GB, free: 1.773 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.405e-05/0.2046, allocations: 4 kB / 0.732 GB, free: 1.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.2047, allocations: 24.05 kB / 0.7321 GB, free: 1.746 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.691e-05/0.2048, allocations: 11.97 kB / 0.7321 GB, free: 1.734 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.2048, allocations: 8 kB / 0.7321 GB, free: 1.727 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002551/0.2051, allocations: 239.2 kB / 0.7323 GB, free: 1.496 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2051, allocations: 0 / 0.7323 GB, free: 1.496 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003318/0.2054, allocations: 71.83 kB / 0.7324 GB, free: 1.426 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.001056/0.2064, allocations: 0.9647 MB / 0.7333 GB, free: 448 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004503/0.2069, allocations: 188.9 kB / 0.7335 GB, free: 260 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2069, allocations: 0 / 0.7335 GB, free: 260 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002014/0.2071, allocations: 91.91 kB / 0.7336 GB, free: 168 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005355/0.2076, allocations: 85.56 kB / 0.7337 GB, free: 88 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004349/0.212, allocations: 3.138 MB / 0.7367 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/0.2122, allocations: 191.1 kB / 0.7369 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001548/0.2123, allocations: 34.97 kB / 0.7369 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.2125, allocations: 123.3 kB / 0.7371 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of SimCode: time 6.72e-07/0.2125, allocations: 0 / 0.7371 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04754/0.2601, allocations: 7.192 MB / 0.7441 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.3, allocations: 4.438 kB / 0.7441 GB, free: 5.508 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: 16.61986022198107] Failed to read output from testmodel.py, exit status != 0: 12.47067267098464 12.88069879 12.684325933 Calling exit ...