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.000774/0.000774, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0008145/0.0008144, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7311/0.7311, allocations: 132.3 MB / 423.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003051/0.0003052, allocations: 8 kB / 0.5035 GB, free: 4.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4104, allocations: 81.57 MB / 0.5832 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001336/0.4118, allocations: 0.9652 MB / 0.5841 GB, free: 3.293 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009129/0.4127, allocations: 0.5457 MB / 0.5846 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.947e-05/0.4127, allocations: 3.938 kB / 0.5846 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.322e-05/0.4127, allocations: 4.203 kB / 0.5846 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.548e-05/0.4128, allocations: 0 / 0.5846 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000462/0.4133, allocations: 114.5 kB / 0.5847 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.63e-05/0.4133, allocations: 13.38 kB / 0.5848 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.693e-05/0.4134, allocations: 2.312 kB / 0.5848 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.046e-05/0.4134, allocations: 4.656 kB / 0.5848 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.528e-05/0.4135, allocations: 3.984 kB / 0.5848 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.4135, allocations: 0.8125 kB / 0.5848 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006016/0.4141, allocations: 334.9 kB / 0.5851 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.203e-06/0.4141, allocations: 1.062 kB / 0.5851 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.859e-05/0.4141, allocations: 27.14 kB / 0.5851 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.4143, allocations: 104.1 kB / 0.5852 GB, free: 2.703 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4143, allocations: 4 kB / 0.5852 GB, free: 2.699 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4143, allocations: 4.719 kB / 0.5852 GB, free: 2.695 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.4144, allocations: 0 / 0.5852 GB, free: 2.695 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.0002902/0.4146, allocations: 346.8 kB / 0.5856 GB, free: 2.324 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.4147, allocations: 9.5 kB / 0.5856 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.408e-05/0.4147, allocations: 34.56 kB / 0.5856 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.092e-05/0.4148, allocations: 2.5 kB / 0.5856 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.17e-05/0.4148, allocations: 165.1 kB / 0.5858 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.4148, allocations: 0 / 0.5858 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-06/0.4149, allocations: 4.75 kB / 0.5858 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.229e-05/0.4149, allocations: 31.09 kB / 0.5858 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.415, allocations: 1.125 kB / 0.5858 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.415, allocations: 0 / 0.5858 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.415, allocations: 0 / 0.5858 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.721e-05/0.415, allocations: 7.344 kB / 0.5858 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001146/0.4151, allocations: 155.4 kB / 0.5859 GB, free: 1.848 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.524e-05/0.4152, allocations: 32.41 kB / 0.586 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.634e-05/0.4153, allocations: 12.16 kB / 0.586 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.4153, allocations: 0.8438 kB / 0.586 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.4153, allocations: 32.08 kB / 0.586 GB, free: 1.762 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.4153, allocations: 0 / 0.586 GB, free: 1.762 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001737/0.4155, allocations: 45.12 kB / 0.5861 GB, free: 1.723 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.4156, allocations: 53.23 kB / 0.5861 GB, free: 1.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.718e-05/0.4156, allocations: 96.61 kB / 0.5862 GB, free: 1.559 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.876e-06/0.4157, allocations: 26.61 kB / 0.5862 GB, free: 1.527 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.904e-05/0.4157, allocations: 85.48 kB / 0.5863 GB, free: 1.441 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.4157, allocations: 9.453 kB / 0.5863 GB, free: 1.434 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/0.4157, allocations: 0 / 0.5863 GB, free: 1.434 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.547e-05/0.4158, allocations: 316.4 kB / 0.5866 GB, free: 1.117 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.784e-05/0.4158, allocations: 2.094 kB / 0.5866 GB, free: 1.117 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.5e-05/0.4158, allocations: 2.453 kB / 0.5866 GB, free: 1.117 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.749e-05/0.4159, allocations: 12.19 kB / 0.5866 GB, free: 1.109 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4159, allocations: 0 / 0.5866 GB, free: 1.109 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.941e-05/0.416, allocations: 39.83 kB / 0.5867 GB, free: 1.074 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.416, allocations: 5.75 kB / 0.5867 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.416, allocations: 0 / 0.5867 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.416, allocations: 0 / 0.5867 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.4162, allocations: 13.83 kB / 0.5867 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002295/0.4164, allocations: 0.5845 MB / 0.5873 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.944e-05/0.4164, allocations: 8.922 kB / 0.5873 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.4164, allocations: 5.047 kB / 0.5873 GB, free: 480 kB / 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 4.856e-05/0.4165, allocations: 114.9 kB / 0.5874 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.804e-06/0.4165, allocations: 5.797 kB / 0.5874 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.111e-05/0.4166, allocations: 51.44 kB / 0.5874 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4166, allocations: 1.469 kB / 0.5874 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.4166, allocations: 4.125 kB / 0.5874 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4166, allocations: 0.7969 kB / 0.5874 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.642e-05/0.4167, allocations: 151.5 kB / 0.5876 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4167, allocations: 0 / 0.5876 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.659e-05/0.4168, allocations: 9.969 kB / 0.5876 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.4168, allocations: 0.6562 kB / 0.5876 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.4168, allocations: 1.406 kB / 0.5876 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003133/0.4171, allocations: 0.5948 MB / 0.5882 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4171, allocations: 0.8438 kB / 0.5882 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.967e-05/0.4172, allocations: 61.44 kB / 0.5882 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.114e-05/0.4173, allocations: 78.69 kB / 0.5883 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.4173, allocations: 1.734 kB / 0.5883 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.438e-05/0.4173, allocations: 0 / 0.5883 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/0.4173, allocations: 5.344 kB / 0.5883 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.4173, allocations: 2.016 kB / 0.5883 GB, free: 15.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.439e-05/0.4174, allocations: 81.38 kB / 0.5884 GB, free: 15.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4174, allocations: 0 / 0.5884 GB, free: 15.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001922/0.4176, allocations: 10.72 kB / 0.5884 GB, free: 15.26 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003922/0.418, allocations: 0.6153 MB / 0.589 GB, free: 14.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001535/0.4181, allocations: 16.69 kB / 0.589 GB, free: 14.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4182, allocations: 0.9375 kB / 0.589 GB, free: 14.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.893e-05/0.4182, allocations: 13.12 kB / 0.589 GB, free: 14.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.4184, allocations: 5.828 kB / 0.5891 GB, free: 14.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004683/0.4189, allocations: 152.7 kB / 0.5892 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.4191, allocations: 0.675 MB / 0.5899 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.601e-05/0.4191, allocations: 0 / 0.5899 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.28e-05/0.4192, allocations: 8.891 kB / 0.5899 GB, free: 13.78 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4192, allocations: 0 / 0.5899 GB, free: 13.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01291/0.4321, allocations: 1.127 MB / 0.591 GB, free: 13.66 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/0.4323, allocations: 245.8 kB / 0.5912 GB, free: 13.42 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.711/2.144, allocations: 0 / 0.5912 GB, free: 13.42 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) Environment - environmentSimulation: