Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="IDEAS_dev_IDEAS_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.004167/0.004167, allocations: 99.89 kB / 15.73 MB, free: 6.016 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.001249/0.001249, allocations: 184.2 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8436/0.8436, allocations: 135.6 MB / 426.1 MB, free: 3.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 68.42 kB / 0.5857 GB, free: 21.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1338, allocations: 81.03 MB / 0.6649 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.02315/0.157, allocations: 20.74 MB / 0.6851 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006878/0.1639, allocations: 4.94 MB / 0.6899 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003267/0.1643, allocations: 15.88 kB / 0.6899 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006792/0.1649, allocations: 278 kB / 0.6902 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001716/0.1667, allocations: 0.816 MB / 0.691 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.1685, allocations: 0.7104 MB / 0.6917 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001759/0.1702, allocations: 1.394 MB / 0.6931 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006182/0.1709, allocations: 437.2 kB / 0.6935 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008915/0.1718, allocations: 0.572 MB / 0.694 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006286/0.1724, allocations: 446.1 kB / 0.6945 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.169e-05/0.1725, allocations: 47.94 kB / 0.6945 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.1737, allocations: 0.6316 MB / 0.6951 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.1738, allocations: 119.5 kB / 0.6952 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003212/0.1742, allocations: 294.5 kB / 0.6955 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.1754, allocations: 0.8561 MB / 0.6964 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.185e-06/0.1754, allocations: 0 / 0.6964 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1754, allocations: 0 / 0.6964 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.1754, allocations: 0 / 0.6964 GB, free: 5.215 MB / 0.5294 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.00161/0.177, allocations: 0.9491 MB / 0.6973 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1771, allocations: 9.109 kB / 0.6973 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.196e-05/0.1772, allocations: 70.72 kB / 0.6974 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.1773, allocations: 64.52 kB / 0.6974 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007294/0.178, allocations: 482.8 kB / 0.6979 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/0.1781, allocations: 36.64 kB / 0.6979 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.521e-05/0.1782, allocations: 36 kB / 0.698 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006821/0.1788, allocations: 302 kB / 0.6982 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1789, allocations: 3.938 kB / 0.6982 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.1789, allocations: 12 kB / 0.6983 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.1789, allocations: 8 kB / 0.6983 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006833/0.1796, allocations: 270.4 kB / 0.6985 GB, free: 2.895 MB / 0.5294 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.002234/0.1819, allocations: 1.333 MB / 0.6998 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000564/0.1824, allocations: 253.6 kB / 0.7001 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003268/0.1828, allocations: 136.8 kB / 0.7002 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004555/0.1832, allocations: 0.4986 MB / 0.7007 GB, free: 452 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/0.1833, allocations: 46.5 kB / 0.7007 GB, free: 396 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=25): time 3.497e-06/0.1833, allocations: 96 / 0.7007 GB, free: 396 kB / 0.5294 GB Notification: Performance of matching and sorting (n=25): time 0.001842/0.1851, allocations: 0.5573 MB / 0.7013 GB, free: 15.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.1852, allocations: 55.41 kB / 0.7013 GB, free: 15.74 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005545/0.1858, allocations: 474.1 kB / 0.7018 GB, free: 15.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/0.1858, allocations: 29.7 kB / 0.7018 GB, free: 15.23 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.186, allocations: 240.7 kB / 0.702 GB, free: 14.99 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.249e-05/0.1861, allocations: 95.2 kB / 0.7021 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.1863, allocations: 73.69 kB / 0.7022 GB, free: 14.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.1864, allocations: 354.8 kB / 0.7025 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003491/0.1868, allocations: 132.5 kB / 0.7027 GB, free: 14.33 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004078/0.1872, allocations: 177.6 kB / 0.7028 GB, free: 14.14 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006873/0.1879, allocations: 276 kB / 0.7031 GB, free: 13.86 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1879, allocations: 3.938 kB / 0.7031 GB, free: 13.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001696/0.1896, allocations: 0.4922 MB / 0.7036 GB, free: 13.36 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1897, allocations: 4 kB / 0.7036 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1897, allocations: 4 kB / 0.7036 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003401/0.19, allocations: 48.81 kB / 0.7036 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003763/0.1904, allocations: 75.89 kB / 0.7037 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004841/0.1909, allocations: 0.5601 MB / 0.7042 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004226/0.1913, allocations: 55.77 kB / 0.7043 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/0.1914, allocations: 12 kB / 0.7043 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004532/0.1919, allocations: 245 kB / 0.7045 GB, free: 12.33 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003962/0.1923, allocations: 182.3 kB / 0.7047 GB, free: 12.14 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006483/0.1929, allocations: 260.7 kB / 0.705 GB, free: 11.88 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.262e-06/0.1929, allocations: 0 / 0.705 GB, free: 11.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0008702/0.1938, allocations: 369 kB / 0.7053 GB, free: 11.51 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.1938, allocations: 11.94 kB / 0.7053 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-06/0.1938, allocations: 0 / 0.7053 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-06/0.1938, allocations: 4 kB / 0.7053 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004127/0.1943, allocations: 83.88 kB / 0.7054 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1943, allocations: 4 kB / 0.7054 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000414/0.1947, allocations: 39.84 kB / 0.7055 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.628e-05/0.1947, allocations: 16 kB / 0.7055 GB, free: 11.35 MB / 0.545 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.0001433/0.1949, allocations: 197.5 kB / 0.7057 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.591e-05/0.195, allocations: 59.59 kB / 0.7057 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.196, allocations: 432 kB / 0.7061 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.196, allocations: 0 / 0.7061 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.196, allocations: 0 / 0.7061 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1961, allocations: 4 kB / 0.7061 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/0.1977, allocations: 0.9447 MB / 0.7071 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.1977, allocations: 0 / 0.7071 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.1979, allocations: 51.91 kB / 0.7071 GB, free: 9.586 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001686/0.1981, allocations: 40.95 kB / 0.7071 GB, free: 9.543 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.1981, allocations: 12 kB / 0.7072 GB, free: 9.531 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004325/0.1986, allocations: 0.5639 MB / 0.7077 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.1986, allocations: 7.969 kB / 0.7077 GB, free: 8.934 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009024/0.1995, allocations: 0.4916 MB / 0.7082 GB, free: 8.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/0.1997, allocations: 156.7 kB / 0.7083 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.275e-05/0.1998, allocations: 11.94 kB / 0.7084 GB, free: 8.227 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003454/0.2001, allocations: 27.97 kB / 0.7084 GB, free: 8.199 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.455e-05/0.2002, allocations: 19.97 kB / 0.7084 GB, free: 8.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/0.2002, allocations: 11.98 kB / 0.7084 GB, free: 8.168 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003853/0.2006, allocations: 326.9 kB / 0.7087 GB, free: 7.852 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.2006, allocations: 0 / 0.7087 GB, free: 7.852 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007011/0.2013, allocations: 251.5 kB / 0.709 GB, free: 7.605 MB / 0.545 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.001615/0.2029, allocations: 1.172 MB / 0.7101 GB, free: 6.398 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001227/0.2042, allocations: 460.3 kB / 0.7105 GB, free: 5.949 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2042, allocations: 0 / 0.7105 GB, free: 5.949 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004351/0.2046, allocations: 172 kB / 0.7107 GB, free: 5.781 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.2058, allocations: 224.2 kB / 0.7109 GB, free: 5.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006779/0.2125, allocations: 4.017 MB / 0.7148 GB, free: 1.426 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005095/0.2131, allocations: 0.8627 MB / 0.7157 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003797/0.2135, allocations: 124 kB / 0.7158 GB, free: 424 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002433/0.2137, allocations: 171.4 kB / 0.716 GB, free: 252 kB / 0.545 GB Notification: Performance of SimCode: time 2.225e-06/0.2137, allocations: 0 / 0.716 GB, free: 252 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04194/0.2557, allocations: 15.03 MB / 0.7306 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.41, allocations: 7.922 kB / 0.7307 GB, free: 1.473 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)