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.005709/0.00571, allocations: 96.7 kB / 15.73 MB, free: 6.043 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.00132/0.00132, allocations: 196.2 kB / 16.67 MB, free: 5.969 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9826/0.9826, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001365, allocations: 68.03 kB / 0.5851 GB, free: 3.867 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3962, allocations: 80.92 MB / 0.6642 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001815/0.398, allocations: 1.256 MB / 0.6654 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007509/0.3988, allocations: 0.5875 MB / 0.666 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.133e-05/0.3988, allocations: 4 kB / 0.666 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.955e-05/0.3989, allocations: 0 / 0.666 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.538e-05/0.3989, allocations: 3.938 kB / 0.666 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004304/0.3993, allocations: 138.8 kB / 0.6661 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.285e-05/0.3994, allocations: 9.328 kB / 0.6661 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.488e-05/0.3994, allocations: 5.453 kB / 0.6661 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.689e-05/0.3995, allocations: 2.469 kB / 0.6661 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.04e-05/0.3995, allocations: 6.781 kB / 0.6661 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.997e-06/0.3995, allocations: 4 kB / 0.6661 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004219/0.3999, allocations: 344.8 kB / 0.6665 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.468e-06/0.4, allocations: 1.25 kB / 0.6665 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.824e-05/0.4, allocations: 5.781 kB / 0.6665 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.4002, allocations: 139.5 kB / 0.6666 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.4002, allocations: 0 / 0.6666 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4002, allocations: 1.562 kB / 0.6666 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.4002, allocations: 0 / 0.6666 GB, free: 5.426 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.0002918/0.4005, allocations: 350.9 kB / 0.6669 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.4006, allocations: 17.73 kB / 0.6669 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.248e-05/0.4006, allocations: 30.75 kB / 0.667 GB, free: 5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.2e-05/0.4006, allocations: 2.281 kB / 0.667 GB, free: 5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.624e-05/0.4007, allocations: 165.6 kB / 0.6671 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.4007, allocations: 384 / 0.6671 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.4007, allocations: 17.5 kB / 0.6671 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.19e-05/0.4008, allocations: 28.17 kB / 0.6672 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.026e-06/0.4008, allocations: 1.188 kB / 0.6672 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-06/0.4008, allocations: 3.938 kB / 0.6672 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.4008, allocations: 7.984 kB / 0.6672 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.348e-05/0.4009, allocations: 7.219 kB / 0.6672 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001017/0.401, allocations: 149 kB / 0.6673 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.19e-05/0.401, allocations: 23.09 kB / 0.6674 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.736e-05/0.401, allocations: 19.48 kB / 0.6674 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.4011, allocations: 1.438 kB / 0.6674 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.4011, allocations: 34.56 kB / 0.6674 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.4011, allocations: 1.531 kB / 0.6674 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001177/0.4012, allocations: 38.55 kB / 0.6675 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.095e-05/0.4012, allocations: 51.41 kB / 0.6675 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.144e-05/0.4013, allocations: 96.81 kB / 0.6676 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.271e-06/0.4013, allocations: 26.73 kB / 0.6676 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.143e-05/0.4013, allocations: 80.14 kB / 0.6677 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.4013, allocations: 4.922 kB / 0.6677 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.288e-05/0.4014, allocations: 21 kB / 0.6677 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.798e-05/0.4014, allocations: 312.1 kB / 0.668 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.159e-05/0.4014, allocations: 5.219 kB / 0.668 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.538e-06/0.4014, allocations: 6.484 kB / 0.668 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.482e-05/0.4015, allocations: 13.8 kB / 0.668 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.4015, allocations: 0 / 0.668 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.941e-05/0.4015, allocations: 37.83 kB / 0.6681 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.4015, allocations: 6.125 kB / 0.6681 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.4016, allocations: 4 kB / 0.6681 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.4016, allocations: 0 / 0.6681 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.4017, allocations: 11.77 kB / 0.6681 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002068/0.4019, allocations: 0.5874 MB / 0.6687 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.718e-05/0.402, allocations: 0 / 0.6687 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.402, allocations: 5.406 kB / 0.6687 GB, free: 3.141 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 4.564e-05/0.402, allocations: 114.1 kB / 0.6688 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.967e-06/0.402, allocations: 9.094 kB / 0.6688 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.302e-05/0.4021, allocations: 41.23 kB / 0.6688 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.4021, allocations: 3.938 kB / 0.6688 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.4021, allocations: 0 / 0.6688 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4021, allocations: 1.5 kB / 0.6688 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.36e-05/0.4022, allocations: 160.5 kB / 0.669 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4022, allocations: 3.938 kB / 0.669 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.369e-05/0.4023, allocations: 11.83 kB / 0.669 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4023, allocations: 4 kB / 0.669 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-06/0.4023, allocations: 3.938 kB / 0.669 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001567/0.4025, allocations: 0.5827 MB / 0.6696 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4025, allocations: 1.375 kB / 0.6696 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.06e-05/0.4025, allocations: 69.84 kB / 0.6697 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.341e-05/0.4025, allocations: 78.7 kB / 0.6697 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-06/0.4026, allocations: 3.938 kB / 0.6697 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.5e-05/0.4026, allocations: 5.328 kB / 0.6697 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.007e-06/0.4026, allocations: 0 / 0.6697 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.4026, allocations: 5.562 kB / 0.6697 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.475e-05/0.4026, allocations: 76.5 kB / 0.6698 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4026, allocations: 0 / 0.6698 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001969/0.4028, allocations: 19.05 kB / 0.6698 GB, free: 1.887 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.0002372/0.4031, allocations: 0.6134 MB / 0.6704 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000155/0.4032, allocations: 21.17 kB / 0.6705 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4032, allocations: 0 / 0.6705 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.281e-05/0.4033, allocations: 22.17 kB / 0.6705 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.4035, allocations: 6.812 kB / 0.6705 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003622/0.4038, allocations: 129.6 kB / 0.6706 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.095e-05/0.4039, allocations: 0.6754 MB / 0.6713 GB, free: 416 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.472e-05/0.404, allocations: 1.562 kB / 0.6713 GB, free: 416 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.841e-05/0.404, allocations: 7.438 kB / 0.6713 GB, free: 408 kB / 0.4981 GB Notification: Performance of SimCode: time 1.032e-06/0.404, allocations: 4.062 kB / 0.6713 GB, free: 404 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01685/0.4208, allocations: 1.363 MB / 0.6726 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/11.09, allocations: 13.14 kB / 0.6726 GB, free: 15.67 MB / 0.5137 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)