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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00578/0.00578, allocations: 99.77 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 193.5 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.6.0-master/package.mo): time 0.9181/0.9181, allocations: 143.3 MB / 433.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 68.22 kB / 0.5953 GB, free: 12.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.185, allocations: 82.03 MB / 0.6754 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004938/0.19, allocations: 2.975 MB / 0.6783 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002278/0.1923, allocations: 0.9157 MB / 0.6792 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003091/0.1926, allocations: 11.94 kB / 0.6792 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.1929, allocations: 63.33 kB / 0.6793 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.1932, allocations: 91.17 kB / 0.6793 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006019/0.1938, allocations: 223 kB / 0.6796 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005659/0.1944, allocations: 491.2 kB / 0.68 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000416/0.1948, allocations: 209.6 kB / 0.6802 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002513/0.1951, allocations: 179.2 kB / 0.6804 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002394/0.1953, allocations: 175.1 kB / 0.6806 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.38e-05/0.1954, allocations: 44 kB / 0.6806 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.642e-05/0.1955, allocations: 51.88 kB / 0.6807 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.928e-05/0.1956, allocations: 91.69 kB / 0.6807 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000205/0.1958, allocations: 210.8 kB / 0.6809 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006899/0.1965, allocations: 0.5293 MB / 0.6815 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1965, allocations: 0 / 0.6815 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.258e-06/0.1965, allocations: 0 / 0.6815 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.198e-06/0.1965, allocations: 3.938 kB / 0.6815 GB, free: 4.508 MB / 0.5137 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.001302/0.1978, allocations: 0.7281 MB / 0.6822 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.1979, allocations: 8.031 kB / 0.6822 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.938e-05/0.198, allocations: 70.72 kB / 0.6822 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.668e-05/0.1981, allocations: 52.61 kB / 0.6823 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007782/0.1989, allocations: 396.7 kB / 0.6827 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.886e-05/0.1989, allocations: 25.02 kB / 0.6827 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.015e-05/0.199, allocations: 32.38 kB / 0.6827 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006363/0.1996, allocations: 349.2 kB / 0.6831 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.1997, allocations: 0 / 0.6831 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/0.1997, allocations: 8 kB / 0.6831 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.1997, allocations: 8 kB / 0.6831 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005079/0.2002, allocations: 218.1 kB / 0.6833 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/0.2019, allocations: 1.17 MB / 0.6844 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006271/0.2025, allocations: 240.9 kB / 0.6847 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/0.2028, allocations: 111.1 kB / 0.6848 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.694e-05/0.2028, allocations: 11.98 kB / 0.6848 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.2029, allocations: 38.88 kB / 0.6848 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.2029, allocations: 0 / 0.6848 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22): time 0.0007515/0.2036, allocations: 295.3 kB / 0.6851 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.048e-05/0.2037, allocations: 106.8 kB / 0.6852 GB, free: 448 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004056/0.2041, allocations: 337.7 kB / 0.6855 GB, free: 96 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.2042, allocations: 33.7 kB / 0.6856 GB, free: 56 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.2044, allocations: 220.6 kB / 0.6858 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.29e-05/0.2045, allocations: 91.25 kB / 0.6859 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.427e-05/0.2046, allocations: 45.7 kB / 0.6859 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.2048, allocations: 346.8 kB / 0.6862 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.205, allocations: 75.97 kB / 0.6863 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.2052, allocations: 151.6 kB / 0.6864 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004131/0.2057, allocations: 208.6 kB / 0.6866 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.2057, allocations: 3.938 kB / 0.6866 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005482/0.2062, allocations: 284.2 kB / 0.6869 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.2062, allocations: 11.88 kB / 0.6869 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2063, allocations: 4.188 kB / 0.6869 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.2063, allocations: 4 kB / 0.6869 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.2065, allocations: 51.91 kB / 0.687 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.2065, allocations: 4 kB / 0.687 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.2067, allocations: 31.83 kB / 0.687 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.2068, allocations: 12 kB / 0.687 GB, free: 14.47 MB / 0.5294 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.0001893/0.207, allocations: 165.6 kB / 0.6872 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.492e-05/0.2071, allocations: 39.77 kB / 0.6872 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.898e-05/0.2072, allocations: 43.36 kB / 0.6873 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.2072, allocations: 4 kB / 0.6873 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.2072, allocations: 0 / 0.6873 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2072, allocations: 0 / 0.6873 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004964/0.2077, allocations: 397.3 kB / 0.6877 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2077, allocations: 0 / 0.6877 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/0.2079, allocations: 47.91 kB / 0.6877 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2079, allocations: 0 / 0.6877 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.208, allocations: 4 kB / 0.6877 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.208, allocations: 4 kB / 0.6877 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.208, allocations: 0 / 0.6877 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007538/0.2087, allocations: 432.9 kB / 0.6881 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.2089, allocations: 128.8 kB / 0.6882 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.202e-05/0.2089, allocations: 8 kB / 0.6882 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.2091, allocations: 20.05 kB / 0.6883 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.986e-05/0.2092, allocations: 19.97 kB / 0.6883 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.2092, allocations: 4 kB / 0.6883 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002723/0.2095, allocations: 243.2 kB / 0.6885 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2095, allocations: 0 / 0.6885 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003341/0.2098, allocations: 63.83 kB / 0.6886 GB, free: 12.79 MB / 0.5294 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.001073/0.2109, allocations: 0.9676 MB / 0.6895 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005019/0.2114, allocations: 201.3 kB / 0.6897 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.2115, allocations: 4 kB / 0.6897 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.2117, allocations: 103.9 kB / 0.6898 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005488/0.2122, allocations: 78.44 kB / 0.6899 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004447/0.2167, allocations: 3.124 MB / 0.6929 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/0.2172, allocations: 0.795 MB / 0.6937 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001729/0.2173, allocations: 42.97 kB / 0.6938 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.2175, allocations: 123.4 kB / 0.6939 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of SimCode: time 7.11e-07/0.2176, allocations: 0 / 0.6939 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03416/0.2517, allocations: 6.674 MB / 0.7004 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.528/8.78, allocations: 8.562 kB / 0.7004 GB, free: 0.6914 MB / 0.5294 GB (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis.fmu > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)