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.001496/0.001496, allocations: 108 kB / 15.6 MB, free: 132 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.001832/0.001832, allocations: 199.2 kB / 16.54 MB, free: 6.672 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.438/1.438, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8004/0.8004, allocations: 132.2 MB / 422.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 66.27 kB / 0.5019 GB, free: 3.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.4122, allocations: 80.21 MB / 0.5802 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002418/0.4146, allocations: 1.239 MB / 0.5814 GB, free: 3.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008815/0.4155, allocations: 0.5909 MB / 0.582 GB, free: 3.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.609e-05/0.4156, allocations: 0.8438 kB / 0.582 GB, free: 3.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.795e-05/0.4156, allocations: 8.594 kB / 0.582 GB, free: 3.262 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.674e-05/0.4156, allocations: 0 / 0.582 GB, free: 3.262 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005099/0.4162, allocations: 142.8 kB / 0.5821 GB, free: 3.199 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.087e-05/0.4162, allocations: 9.578 kB / 0.5821 GB, free: 3.195 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.83e-05/0.4163, allocations: 6.531 kB / 0.5822 GB, free: 3.191 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.031e-05/0.4163, allocations: 6.734 kB / 0.5822 GB, free: 3.188 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.652e-05/0.4164, allocations: 6.734 kB / 0.5822 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.4164, allocations: 1.375 kB / 0.5822 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005912/0.417, allocations: 345.8 kB / 0.5825 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.184e-05/0.417, allocations: 0.6562 kB / 0.5825 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.359e-05/0.417, allocations: 10.02 kB / 0.5825 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002903/0.4173, allocations: 141.6 kB / 0.5826 GB, free: 3.031 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.4173, allocations: 0.7969 kB / 0.5826 GB, free: 3.031 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4173, allocations: 0 / 0.5826 GB, free: 3.031 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.4173, allocations: 1.062 kB / 0.5826 GB, free: 3.031 MB / 430.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.0003916/0.4177, allocations: 347.9 kB / 0.583 GB, free: 2.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.4178, allocations: 10.09 kB / 0.583 GB, free: 2.66 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.923e-05/0.4178, allocations: 34.75 kB / 0.583 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.621e-05/0.4179, allocations: 6.891 kB / 0.583 GB, free: 2.613 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.509e-05/0.4179, allocations: 162.7 kB / 0.5832 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.418, allocations: 384 / 0.5832 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-06/0.418, allocations: 1.812 kB / 0.5832 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.262e-05/0.4181, allocations: 34.48 kB / 0.5832 GB, free: 2.383 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.4181, allocations: 0 / 0.5832 GB, free: 2.383 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.4181, allocations: 4.875 kB / 0.5832 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.4181, allocations: 0 / 0.5832 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.689e-05/0.4181, allocations: 7.656 kB / 0.5832 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000121/0.4183, allocations: 155.4 kB / 0.5834 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.864e-05/0.4183, allocations: 24.48 kB / 0.5834 GB, free: 2.152 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.202e-05/0.4184, allocations: 8.75 kB / 0.5834 GB, free: 2.145 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.4184, allocations: 4.547 kB / 0.5834 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.4184, allocations: 31.89 kB / 0.5834 GB, free: 2.102 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.4184, allocations: 0.7812 kB / 0.5834 GB, free: 2.102 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.000135/0.4185, allocations: 49.31 kB / 0.5835 GB, free: 2.059 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.4186, allocations: 51.41 kB / 0.5835 GB, free: 1.996 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.198e-05/0.4186, allocations: 93.67 kB / 0.5836 GB, free: 1.898 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.4187, allocations: 27.05 kB / 0.5837 GB, free: 1.867 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.699e-05/0.4187, allocations: 80.84 kB / 0.5837 GB, free: 1.785 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.4187, allocations: 13.77 kB / 0.5837 GB, free: 1.773 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.4188, allocations: 13.11 kB / 0.5838 GB, free: 1.758 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.505e-05/0.4188, allocations: 316 kB / 0.5841 GB, free: 1.441 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/0.4188, allocations: 2.281 kB / 0.5841 GB, free: 1.441 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.13e-05/0.4188, allocations: 10.92 kB / 0.5841 GB, free: 1.434 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.848e-05/0.4189, allocations: 14.28 kB / 0.5841 GB, free: 1.422 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.4189, allocations: 0 / 0.5841 GB, free: 1.422 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.126e-05/0.4189, allocations: 43.86 kB / 0.5841 GB, free: 1.383 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.419, allocations: 5.219 kB / 0.5841 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.419, allocations: 1.375 kB / 0.5841 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.419, allocations: 8.688 kB / 0.5841 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.4192, allocations: 9.094 kB / 0.5841 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002436/0.4194, allocations: 0.5796 MB / 0.5847 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.4194, allocations: 9.625 kB / 0.5847 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.4195, allocations: 1.219 kB / 0.5847 GB, free: 0.7812 MB / 430.1 MB 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 5.499e-05/0.4195, allocations: 113.3 kB / 0.5848 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.756e-06/0.4195, allocations: 5.125 kB / 0.5848 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.612e-05/0.4196, allocations: 44.27 kB / 0.5849 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.4196, allocations: 0 / 0.5849 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.4197, allocations: 1.5 kB / 0.5849 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.4197, allocations: 0 / 0.5849 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.538e-05/0.4197, allocations: 155.1 kB / 0.585 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4197, allocations: 0.75 kB / 0.585 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.892e-05/0.4198, allocations: 10.58 kB / 0.585 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.4198, allocations: 0 / 0.585 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.4198, allocations: 4.625 kB / 0.585 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002493/0.4201, allocations: 0.5877 MB / 0.5856 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.4201, allocations: 4.734 kB / 0.5856 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.831e-05/0.4202, allocations: 61.11 kB / 0.5857 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.4203, allocations: 86.89 kB / 0.5858 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.4203, allocations: 5.594 kB / 0.5858 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.549e-05/0.4203, allocations: 4 kB / 0.5858 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/0.4203, allocations: 2.078 kB / 0.5858 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.4203, allocations: 4.875 kB / 0.5858 GB, free: 15.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.423e-05/0.4204, allocations: 81.23 kB / 0.5859 GB, free: 15.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4204, allocations: 0 / 0.5859 GB, free: 15.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00021/0.4206, allocations: 12.25 kB / 0.5859 GB, free: 15.56 MB / 446.1 MB 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.0004005/0.421, allocations: 0.6073 MB / 0.5865 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001675/0.4212, allocations: 24.95 kB / 0.5865 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4212, allocations: 0 / 0.5865 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.054e-05/0.4213, allocations: 16.89 kB / 0.5865 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.4214, allocations: 6.891 kB / 0.5865 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004567/0.4219, allocations: 144.5 kB / 0.5866 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.4222, allocations: 0.6735 MB / 0.5873 GB, free: 14.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.602e-05/0.4222, allocations: 0.7031 kB / 0.5873 GB, free: 14.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.328e-05/0.4222, allocations: 9.531 kB / 0.5873 GB, free: 14.09 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4222, allocations: 0 / 0.5873 GB, free: 14.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01768/0.4399, allocations: 1.302 MB / 0.5886 GB, free: 13.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.38, allocations: 5.219 kB / 0.5886 GB, free: 13.75 MB / 446.1 MB (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)