Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable",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.001344/0.001344, allocations: 106.2 kB / 16.4 MB, free: 6.5 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.00127/0.001271, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.482/1.482, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8111/0.8111, allocations: 126.7 MB / 417.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 66.81 kB / 0.5735 GB, free: 27.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1406, allocations: 78.86 MB / 0.6506 GB, free: 3.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01948/0.1601, allocations: 17.43 MB / 0.6676 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007304/0.1675, allocations: 4.892 MB / 0.6724 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006159/0.1681, allocations: 19.88 kB / 0.6724 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008909/0.169, allocations: 246.4 kB / 0.6726 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001583/0.1706, allocations: 0.6024 MB / 0.6732 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002179/0.1728, allocations: 0.7414 MB / 0.6739 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001558/0.1744, allocations: 0.9585 MB / 0.6749 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005673/0.175, allocations: 333.2 kB / 0.6752 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009617/0.176, allocations: 462.1 kB / 0.6756 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004516/0.1764, allocations: 310.7 kB / 0.6759 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.456e-05/0.1765, allocations: 28 kB / 0.6759 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001432/0.1779, allocations: 0.7214 MB / 0.6766 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.1781, allocations: 131.5 kB / 0.6768 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002828/0.1784, allocations: 250.5 kB / 0.677 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.1799, allocations: 0.8718 MB / 0.6779 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1799, allocations: 0 / 0.6779 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.294e-06/0.1799, allocations: 0 / 0.6779 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.1799, allocations: 0 / 0.6779 GB, free: 7.527 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001331/0.1813, allocations: 0.8981 MB / 0.6787 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.1813, allocations: 11.97 kB / 0.6787 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.562e-05/0.1814, allocations: 62.72 kB / 0.6788 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.1815, allocations: 64.56 kB / 0.6789 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007652/0.1823, allocations: 461.2 kB / 0.6793 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.1824, allocations: 24.55 kB / 0.6793 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.171e-05/0.1824, allocations: 28 kB / 0.6794 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005502/0.183, allocations: 290.2 kB / 0.6796 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.183, allocations: 0 / 0.6796 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/0.183, allocations: 15.94 kB / 0.6796 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.183, allocations: 4 kB / 0.6797 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004462/0.1835, allocations: 186.1 kB / 0.6798 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/0.1855, allocations: 1.48 MB / 0.6813 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003515/0.1858, allocations: 156.6 kB / 0.6814 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.1861, allocations: 88.8 kB / 0.6815 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001701/0.1878, allocations: 1.272 MB / 0.6828 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.1878, allocations: 38.56 kB / 0.6828 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.934e-06/0.1878, allocations: 0 / 0.6828 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0006766/0.1885, allocations: 249.2 kB / 0.683 GB, free: 1.777 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.1886, allocations: 51.41 kB / 0.6831 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007454/0.1893, allocations: 0.5847 MB / 0.6836 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.1894, allocations: 29.7 kB / 0.6837 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002895/0.1896, allocations: 276.4 kB / 0.6839 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.235e-05/0.1897, allocations: 51.53 kB / 0.684 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.1898, allocations: 73.92 kB / 0.6841 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.19, allocations: 366.7 kB / 0.6844 GB, free: 320 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.1903, allocations: 81.92 kB / 0.6845 GB, free: 236 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003512/0.1906, allocations: 206.7 kB / 0.6847 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004562/0.1911, allocations: 238.9 kB / 0.6849 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.1911, allocations: 7.938 kB / 0.6849 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006329/0.1917, allocations: 319.1 kB / 0.6852 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1918, allocations: 4 kB / 0.6852 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.1918, allocations: 4 kB / 0.6852 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.1918, allocations: 4 kB / 0.6852 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.1921, allocations: 59.91 kB / 0.6853 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.1921, allocations: 8.188 kB / 0.6853 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003183/0.1924, allocations: 51.75 kB / 0.6853 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.174e-05/0.1925, allocations: 8 kB / 0.6854 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000324/0.1928, allocations: 216.6 kB / 0.6856 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003033/0.1931, allocations: 209.6 kB / 0.6858 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004077/0.1935, allocations: 233.1 kB / 0.686 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.1935, allocations: 0 / 0.686 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006156/0.1942, allocations: 318.8 kB / 0.6863 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.337e-06/0.1942, allocations: 4 kB / 0.6863 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1942, allocations: 7.984 kB / 0.6863 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.57e-06/0.1942, allocations: 4 kB / 0.6863 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.1944, allocations: 59.91 kB / 0.6864 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1944, allocations: 4 kB / 0.6864 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003371/0.1948, allocations: 48.11 kB / 0.6864 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.1948, allocations: 12.19 kB / 0.6864 GB, free: 14.07 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001479/0.195, allocations: 196.1 kB / 0.6866 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.707e-05/0.1951, allocations: 55.61 kB / 0.6867 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005969/0.1957, allocations: 253.6 kB / 0.6869 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.1957, allocations: 4 kB / 0.6869 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1957, allocations: 0 / 0.6869 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1957, allocations: 0 / 0.6869 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.1968, allocations: 0.7387 MB / 0.6876 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.1968, allocations: 4 kB / 0.6876 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.197, allocations: 31.97 kB / 0.6877 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.197, allocations: 0 / 0.6877 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.197, allocations: 7.938 kB / 0.6877 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.197, allocations: 3.938 kB / 0.6877 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.197, allocations: 7.938 kB / 0.6877 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005248/0.1976, allocations: 353.3 kB / 0.688 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.1977, allocations: 148.7 kB / 0.6882 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.68e-05/0.1978, allocations: 4 kB / 0.6882 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.198, allocations: 11.98 kB / 0.6882 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.1981, allocations: 23.86 kB / 0.6882 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.1981, allocations: 8 kB / 0.6882 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004984/0.1986, allocations: 418.8 kB / 0.6886 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1986, allocations: 0 / 0.6886 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007571/0.1994, allocations: 227.5 kB / 0.6888 GB, free: 11.48 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002364/0.2017, allocations: 1.283 MB / 0.6901 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008186/0.2026, allocations: 330.1 kB / 0.6904 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2026, allocations: 0 / 0.6904 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.2028, allocations: 83.89 kB / 0.6905 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.2041, allocations: 257.7 kB / 0.6907 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005673/0.2098, allocations: 3.935 MB / 0.6946 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005127/0.2103, allocations: 0.8506 MB / 0.6954 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003765/0.2107, allocations: 96.31 kB / 0.6955 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002319/0.2109, allocations: 163.4 kB / 0.6956 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of SimCode: time 6.01e-07/0.2109, allocations: 0 / 0.6956 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04248/0.2534, allocations: 15.01 MB / 0.7103 GB, free: 5.609 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.967/9.22, allocations: 7.312 kB / 0.7103 GB, free: 5.605 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)