Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.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.FixedResistances.Examples.CheckValve,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve",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.001088/0.001088, allocations: 111.3 kB / 16.41 MB, free: 6.445 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.001107/0.001107, 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7776/0.7776, allocations: 122.9 MB / 414.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.62 kB / 0.5679 GB, free: 28.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1303, allocations: 77.93 MB / 0.644 GB, free: 9.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.02093/0.1512, allocations: 20.74 MB / 0.6643 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006939/0.1582, allocations: 4.943 MB / 0.6691 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007061/0.1589, allocations: 15.88 kB / 0.6691 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008153/0.1598, allocations: 278.1 kB / 0.6694 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002155/0.162, allocations: 0.8551 MB / 0.6702 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00192/0.1639, allocations: 0.7138 MB / 0.6709 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001941/0.1659, allocations: 1.398 MB / 0.6723 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006702/0.1665, allocations: 440.7 kB / 0.6727 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001071/0.1676, allocations: 0.5914 MB / 0.6733 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008173/0.1684, allocations: 442.2 kB / 0.6737 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.1686, allocations: 36 kB / 0.6737 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/0.1697, allocations: 0.6355 MB / 0.6744 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.1699, allocations: 127.5 kB / 0.6745 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003238/0.1702, allocations: 286.5 kB / 0.6748 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.1714, allocations: 0.8483 MB / 0.6756 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1714, allocations: 0 / 0.6756 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.874e-06/0.1714, allocations: 0 / 0.6756 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.329e-05/0.1715, allocations: 4 kB / 0.6756 GB, free: 9.133 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001713/0.1732, allocations: 0.9451 MB / 0.6765 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1733, allocations: 16.62 kB / 0.6765 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.928e-05/0.1733, allocations: 62.73 kB / 0.6766 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.1735, allocations: 64.56 kB / 0.6767 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008531/0.1743, allocations: 483.6 kB / 0.6771 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.1744, allocations: 24.66 kB / 0.6771 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.92e-05/0.1744, allocations: 32 kB / 0.6772 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006816/0.1751, allocations: 310 kB / 0.6775 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.1752, allocations: 0 / 0.6775 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.53e-05/0.1752, allocations: 12 kB / 0.6775 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.1752, allocations: 12 kB / 0.6775 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006367/0.1759, allocations: 258.4 kB / 0.6777 GB, free: 6.836 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002174/0.178, allocations: 1.345 MB / 0.679 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005174/0.1786, allocations: 254.4 kB / 0.6793 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/0.1789, allocations: 145.6 kB / 0.6794 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003926/0.1793, allocations: 0.5025 MB / 0.6799 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.1793, allocations: 30.56 kB / 0.68 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 1.573e-06/0.1793, allocations: 0 / 0.68 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of matching and sorting (n=25): time 0.001791/0.1811, allocations: 0.5726 MB / 0.6805 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.1812, allocations: 55.39 kB / 0.6806 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004683/0.1816, allocations: 462.2 kB / 0.681 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/0.1817, allocations: 33.7 kB / 0.681 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.1819, allocations: 248.6 kB / 0.6813 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.119e-05/0.1819, allocations: 91.42 kB / 0.6814 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.1821, allocations: 73.64 kB / 0.6814 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1822, allocations: 366.7 kB / 0.6818 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003139/0.1825, allocations: 120.8 kB / 0.6819 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003711/0.1829, allocations: 180.8 kB / 0.6821 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006467/0.1835, allocations: 272.2 kB / 0.6823 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1836, allocations: 0 / 0.6823 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001599/0.1852, allocations: 491 kB / 0.6828 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1852, allocations: 4 kB / 0.6828 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1852, allocations: 0 / 0.6828 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003434/0.1856, allocations: 56.81 kB / 0.6829 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003628/0.1859, allocations: 67.89 kB / 0.6829 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003957/0.1863, allocations: 0.5756 MB / 0.6835 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004298/0.1868, allocations: 51.81 kB / 0.6835 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.846e-05/0.1868, allocations: 16.08 kB / 0.6835 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000414/0.1872, allocations: 236 kB / 0.6838 GB, free: 268 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00035/0.1876, allocations: 181.4 kB / 0.6839 GB, free: 68 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000621/0.1882, allocations: 264.1 kB / 0.6842 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.483e-06/0.1882, allocations: 0 / 0.6842 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007951/0.189, allocations: 374.8 kB / 0.6846 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.756e-06/0.1891, allocations: 4 kB / 0.6846 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1891, allocations: 0 / 0.6846 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.382e-06/0.1891, allocations: 11.88 kB / 0.6846 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004014/0.1895, allocations: 79.89 kB / 0.6846 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.1895, allocations: 0 / 0.6846 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004289/0.1899, allocations: 47.84 kB / 0.6847 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.19, allocations: 15.98 kB / 0.6847 GB, free: 15.27 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (34): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001244/0.1901, allocations: 200.2 kB / 0.6849 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.769e-05/0.1902, allocations: 55.62 kB / 0.6849 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009368/0.1911, allocations: 427.9 kB / 0.6854 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.1912, allocations: 11.98 kB / 0.6854 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.1912, allocations: 0 / 0.6854 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1912, allocations: 0 / 0.6854 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/0.1927, allocations: 0.9495 MB / 0.6863 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1927, allocations: 0 / 0.6863 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.193, allocations: 56.02 kB / 0.6863 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000167/0.1931, allocations: 40.83 kB / 0.6864 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.1932, allocations: 4 kB / 0.6864 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003257/0.1935, allocations: 0.5602 MB / 0.6869 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.1935, allocations: 0 / 0.6869 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008075/0.1943, allocations: 491.3 kB / 0.6874 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001727/0.1945, allocations: 160.7 kB / 0.6876 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.277e-05/0.1946, allocations: 12 kB / 0.6876 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003487/0.1949, allocations: 27.91 kB / 0.6876 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.314e-05/0.195, allocations: 23.97 kB / 0.6876 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.195, allocations: 8 kB / 0.6876 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003373/0.1954, allocations: 326.8 kB / 0.6879 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1954, allocations: 0 / 0.6879 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007089/0.1961, allocations: 255.5 kB / 0.6882 GB, free: 11.54 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001469/0.1976, allocations: 1.176 MB / 0.6893 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001183/0.1988, allocations: 469.8 kB / 0.6898 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1988, allocations: 4 kB / 0.6898 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004065/0.1992, allocations: 170.2 kB / 0.6899 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.2003, allocations: 220.5 kB / 0.6902 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006313/0.2066, allocations: 4.01 MB / 0.6941 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.207, allocations: 0.8587 MB / 0.6949 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003724/0.2074, allocations: 120.3 kB / 0.695 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/0.2076, allocations: 183.3 kB / 0.6952 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of SimCode: time 5.61e-07/0.2077, allocations: 0 / 0.6952 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03977/0.2474, allocations: 15.02 MB / 0.7099 GB, free: 5.426 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.07, allocations: 6.406 kB / 0.7099 GB, free: 5.422 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve_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_FixedResistances_Examples_CheckValve.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)