Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_dev_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.001103/0.001103, allocations: 108 kB / 15.61 MB, free: 152 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.001261/0.001261, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.006/1.006, allocations: 135.1 MB / 425.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 68.64 kB / 0.5054 GB, free: 5.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1906, allocations: 80.92 MB / 0.5845 GB, free: 4.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.003616/0.1942, allocations: 1.245 MB / 0.5857 GB, free: 3.234 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.1956, allocations: 0.5932 MB / 0.5863 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.074e-05/0.1956, allocations: 0 / 0.5863 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.802e-05/0.1957, allocations: 0 / 0.5863 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.761e-05/0.1957, allocations: 0 / 0.5863 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007537/0.1965, allocations: 139.4 kB / 0.5864 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.695e-05/0.1966, allocations: 15.88 kB / 0.5864 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.308e-05/0.1966, allocations: 4 kB / 0.5864 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.835e-05/0.1967, allocations: 8 kB / 0.5864 GB, free: 2.477 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.286e-05/0.1967, allocations: 3.984 kB / 0.5864 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.1968, allocations: 0 / 0.5864 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007772/0.1975, allocations: 347.3 kB / 0.5868 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.1976, allocations: 0 / 0.5868 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.738e-05/0.1976, allocations: 11.92 kB / 0.5868 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003597/0.198, allocations: 136 kB / 0.5869 GB, free: 1.988 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.198, allocations: 0 / 0.5869 GB, free: 1.988 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.268e-06/0.198, allocations: 0 / 0.5869 GB, free: 1.988 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.198, allocations: 7.938 kB / 0.5869 GB, free: 1.98 MB / 494.1 MB 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.0004924/0.1985, allocations: 359.3 kB / 0.5873 GB, free: 1.582 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.1986, allocations: 8.031 kB / 0.5873 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.794e-05/0.1986, allocations: 30.75 kB / 0.5873 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.77e-05/0.1987, allocations: 0.9375 kB / 0.5873 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.1988, allocations: 168.4 kB / 0.5875 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.1988, allocations: 384 / 0.5875 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.1989, allocations: 384 / 0.5875 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.199, allocations: 33.64 kB / 0.5875 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.199, allocations: 4 kB / 0.5875 GB, free: 1.289 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.199, allocations: 0 / 0.5875 GB, free: 1.289 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.199, allocations: 0 / 0.5875 GB, free: 1.289 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.499e-05/0.1991, allocations: 11.94 kB / 0.5875 GB, free: 1.277 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.1993, allocations: 149.7 kB / 0.5876 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.558e-05/0.1993, allocations: 26.58 kB / 0.5877 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.251e-05/0.1994, allocations: 4.922 kB / 0.5877 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.1994, allocations: 11.94 kB / 0.5877 GB, free: 1.027 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.1994, allocations: 34.55 kB / 0.5877 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.1994, allocations: 0 / 0.5877 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001651/0.1996, allocations: 41.64 kB / 0.5878 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.1997, allocations: 55.41 kB / 0.5878 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.015e-05/0.1998, allocations: 89.86 kB / 0.5879 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.1998, allocations: 25.7 kB / 0.5879 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.886e-05/0.1998, allocations: 92.38 kB / 0.588 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.1999, allocations: 7.906 kB / 0.588 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.1999, allocations: 9.719 kB / 0.588 GB, free: 0.625 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.2001, allocations: 314.8 kB / 0.5883 GB, free: 316 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.657e-05/0.2001, allocations: 4 kB / 0.5883 GB, free: 312 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.456e-05/0.2001, allocations: 4 kB / 0.5883 GB, free: 308 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.846e-05/0.2001, allocations: 8.859 kB / 0.5883 GB, free: 296 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2002, allocations: 4 kB / 0.5883 GB, free: 292 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001042/0.2003, allocations: 53.56 kB / 0.5884 GB, free: 232 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.2003, allocations: 4 kB / 0.5884 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2003, allocations: 0 / 0.5884 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.2003, allocations: 4 kB / 0.5884 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.2005, allocations: 7.984 kB / 0.5884 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004558/0.201, allocations: 0.5822 MB / 0.589 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.627e-05/0.201, allocations: 4.125 kB / 0.589 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.2011, allocations: 0 / 0.589 GB, free: 15.6 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.728e-05/0.2012, allocations: 113.7 kB / 0.5891 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.2012, allocations: 11.89 kB / 0.5891 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.2013, allocations: 48.81 kB / 0.5891 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2013, allocations: 0 / 0.5891 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2013, allocations: 3.938 kB / 0.5892 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.2014, allocations: 0 / 0.5892 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.2015, allocations: 157.6 kB / 0.5893 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2015, allocations: 0 / 0.5893 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.678e-05/0.2016, allocations: 8 kB / 0.5893 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.2016, allocations: 0 / 0.5893 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.2016, allocations: 7.984 kB / 0.5893 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000368/0.202, allocations: 0.5859 MB / 0.5899 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.202, allocations: 0 / 0.5899 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.921e-05/0.2021, allocations: 65.27 kB / 0.59 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.452e-05/0.2022, allocations: 81.09 kB / 0.59 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.2022, allocations: 7.938 kB / 0.59 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.895e-05/0.2022, allocations: 0 / 0.59 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.001e-05/0.2023, allocations: 0 / 0.59 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.2023, allocations: 4 kB / 0.59 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.821e-05/0.2023, allocations: 75.31 kB / 0.5901 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2023, allocations: 4.094 kB / 0.5901 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003344/0.2027, allocations: 15.94 kB / 0.5901 GB, free: 14.3 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.0004909/0.2032, allocations: 0.6097 MB / 0.5907 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002144/0.2034, allocations: 27.95 kB / 0.5908 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.2034, allocations: 0 / 0.5908 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.2036, allocations: 23.86 kB / 0.5908 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.2038, allocations: 0 / 0.5908 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006082/0.2044, allocations: 143.7 kB / 0.5909 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.2047, allocations: 0.6729 MB / 0.5916 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.861e-05/0.2047, allocations: 4.125 kB / 0.5916 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.2048, allocations: 7.438 kB / 0.5916 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.2048, allocations: 4 kB / 0.5916 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.2294, allocations: 1.316 MB / 0.5929 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.21, allocations: 6.875 kB / 0.5929 GB, free: 11.58 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)