Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.001354/0.001354, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 183.2 kB / 16.66 MB, free: 6.602 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.471/1.471, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8548/0.8548, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002528/0.002528, allocations: 67.16 kB / 0.5809 GB, free: 1.121 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1858, allocations: 80.21 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002312/0.1881, allocations: 1.234 MB / 0.6604 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.1892, allocations: 0.5941 MB / 0.661 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.63e-05/0.1893, allocations: 0 / 0.661 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.68e-05/0.1893, allocations: 0 / 0.661 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.809e-05/0.1894, allocations: 3.938 kB / 0.661 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00057/0.1899, allocations: 143.4 kB / 0.6611 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.629e-05/0.19, allocations: 15.94 kB / 0.6611 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.167e-05/0.1901, allocations: 3.984 kB / 0.6611 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.096e-05/0.1901, allocations: 4 kB / 0.6611 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.388e-05/0.1901, allocations: 0 / 0.6611 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.1902, allocations: 3.938 kB / 0.6611 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005512/0.1907, allocations: 351.2 kB / 0.6615 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.132e-05/0.1907, allocations: 0 / 0.6615 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.1908, allocations: 0 / 0.6615 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.1911, allocations: 149.2 kB / 0.6616 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1911, allocations: 0 / 0.6616 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1911, allocations: 0 / 0.6616 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.1911, allocations: 4 kB / 0.6616 GB, free: 11.52 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004595/0.1916, allocations: 351.1 kB / 0.662 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.973e-05/0.1916, allocations: 12.02 kB / 0.662 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.697e-05/0.1917, allocations: 30.75 kB / 0.662 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.829e-05/0.1917, allocations: 4.891 kB / 0.662 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.1919, allocations: 164.4 kB / 0.6622 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.1919, allocations: 4.375 kB / 0.6622 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.1919, allocations: 4.125 kB / 0.6622 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.192, allocations: 33.64 kB / 0.6622 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.192, allocations: 0 / 0.6622 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1921, allocations: 7.984 kB / 0.6622 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1921, allocations: 0 / 0.6622 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.766e-05/0.1921, allocations: 4 kB / 0.6622 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001786/0.1923, allocations: 145.7 kB / 0.6623 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.585e-05/0.1923, allocations: 30.56 kB / 0.6624 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.229e-05/0.1924, allocations: 8.797 kB / 0.6624 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.1924, allocations: 4.062 kB / 0.6624 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.1924, allocations: 34.5 kB / 0.6624 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1924, allocations: 0 / 0.6624 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001488/0.1926, allocations: 37.7 kB / 0.6625 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.1926, allocations: 51.41 kB / 0.6625 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.835e-05/0.1927, allocations: 109.9 kB / 0.6626 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.1928, allocations: 25.7 kB / 0.6626 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.99e-05/0.1928, allocations: 80.14 kB / 0.6627 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.1928, allocations: 11.94 kB / 0.6627 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.1929, allocations: 9.719 kB / 0.6627 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.193, allocations: 314.8 kB / 0.663 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.613e-05/0.193, allocations: 7.984 kB / 0.663 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.433e-05/0.1931, allocations: 12.06 kB / 0.6631 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.155e-05/0.1931, allocations: 12.86 kB / 0.6631 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1931, allocations: 0 / 0.6631 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.787e-05/0.1932, allocations: 41.64 kB / 0.6631 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.1932, allocations: 6.031 kB / 0.6631 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1932, allocations: 0 / 0.6631 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1932, allocations: 4 kB / 0.6631 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.1934, allocations: 11.92 kB / 0.6631 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004052/0.1938, allocations: 0.59 MB / 0.6637 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.042e-05/0.1938, allocations: 3.953 kB / 0.6637 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.1939, allocations: 3.938 kB / 0.6637 GB, free: 9.129 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.568e-05/0.1939, allocations: 110.5 kB / 0.6638 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.194, allocations: 7.984 kB / 0.6638 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.1941, allocations: 44.92 kB / 0.6639 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1941, allocations: 0 / 0.6639 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1941, allocations: 0 / 0.6639 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1941, allocations: 3.984 kB / 0.6639 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.1942, allocations: 153.6 kB / 0.664 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1942, allocations: 3.938 kB / 0.664 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.625e-05/0.1943, allocations: 11.98 kB / 0.664 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1943, allocations: 0 / 0.664 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.1943, allocations: 0 / 0.664 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003476/0.1947, allocations: 0.5899 MB / 0.6646 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1947, allocations: 0 / 0.6646 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.757e-05/0.1948, allocations: 73.09 kB / 0.6647 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.613e-05/0.1948, allocations: 81.05 kB / 0.6648 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.1949, allocations: 3.938 kB / 0.6648 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.389e-05/0.1949, allocations: 0 / 0.6648 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.646e-05/0.1949, allocations: 128 / 0.6648 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/0.1949, allocations: 11.94 kB / 0.6648 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.049e-05/0.195, allocations: 79.27 kB / 0.6648 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.195, allocations: 0 / 0.6648 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002002/0.1952, allocations: 8 kB / 0.6649 GB, free: 7.828 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004687/0.1956, allocations: 0.6164 MB / 0.6655 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001816/0.1958, allocations: 19.92 kB / 0.6655 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1959, allocations: 0 / 0.6655 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.083e-05/0.1959, allocations: 15.98 kB / 0.6655 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.1961, allocations: 0.9375 kB / 0.6655 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000508/0.1966, allocations: 139.7 kB / 0.6656 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.1969, allocations: 0.6729 MB / 0.6663 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.675e-05/0.1969, allocations: 4 kB / 0.6663 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.197, allocations: 11.44 kB / 0.6663 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.197, allocations: 0 / 0.6663 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.2206, allocations: 1.362 MB / 0.6676 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.1, allocations: 0 / 0.6676 GB, free: 5.105 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)