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: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008154/0.0008154, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007671/0.007671, allocations: 170 kB / 16.26 MB, free: 6.613 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.337/1.337, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8014/0.8014, allocations: 132.3 MB / 423.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003871, allocations: 12 kB / 0.504 GB, free: 3.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4307/0.4311, allocations: 81.57 MB / 0.5837 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001117/0.4322, allocations: 0.9751 MB / 0.5846 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008411/0.4331, allocations: 0.5976 MB / 0.5852 GB, free: 2.887 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.208e-05/0.4331, allocations: 0 / 0.5852 GB, free: 2.887 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.29e-05/0.4331, allocations: 0.6562 kB / 0.5852 GB, free: 2.887 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.46e-05/0.4332, allocations: 5.188 kB / 0.5852 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004041/0.4336, allocations: 122.5 kB / 0.5853 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.687e-05/0.4336, allocations: 5.453 kB / 0.5853 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.244e-05/0.4337, allocations: 1.984 kB / 0.5853 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.942e-05/0.4337, allocations: 7.125 kB / 0.5853 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.977e-05/0.4338, allocations: 11.22 kB / 0.5854 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.4338, allocations: 1.281 kB / 0.5854 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005/0.4343, allocations: 339.4 kB / 0.5857 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.114e-05/0.4343, allocations: 1.719 kB / 0.5857 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.337e-05/0.4343, allocations: 35.39 kB / 0.5857 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.4346, allocations: 132.6 kB / 0.5858 GB, free: 2.645 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.4346, allocations: 1.094 kB / 0.5858 GB, free: 2.645 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4346, allocations: 0 / 0.5858 GB, free: 2.645 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.4346, allocations: 0 / 0.5858 GB, free: 2.645 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.0002705/0.4349, allocations: 355 kB / 0.5862 GB, free: 2.266 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.4349, allocations: 9.125 kB / 0.5862 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.502e-05/0.435, allocations: 6.719 kB / 0.5862 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.763e-05/0.435, allocations: 165.7 kB / 0.5864 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.4351, allocations: 1.375 kB / 0.5864 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.4351, allocations: 1.375 kB / 0.5864 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.102e-05/0.4352, allocations: 38.59 kB / 0.5864 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.4352, allocations: 1.031 kB / 0.5864 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.4352, allocations: 0 / 0.5864 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4352, allocations: 4.703 kB / 0.5864 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.469e-05/0.4352, allocations: 4.812 kB / 0.5864 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.856e-05/0.4353, allocations: 149.8 kB / 0.5865 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.385e-05/0.4354, allocations: 25.33 kB / 0.5866 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.598e-05/0.4354, allocations: 11.55 kB / 0.5866 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.4354, allocations: 5.891 kB / 0.5866 GB, free: 1.785 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.391e-05/0.4355, allocations: 42.5 kB / 0.5866 GB, free: 1.734 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.4355, allocations: 0.6875 kB / 0.5866 GB, free: 1.734 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001249/0.4356, allocations: 37 kB / 0.5867 GB, free: 1.703 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.818e-05/0.4356, allocations: 52.44 kB / 0.5867 GB, free: 1.641 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.691e-05/0.4357, allocations: 97.28 kB / 0.5868 GB, free: 1.539 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.701e-06/0.4357, allocations: 26.89 kB / 0.5868 GB, free: 1.508 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.386e-05/0.4357, allocations: 88.81 kB / 0.5869 GB, free: 1.418 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.4357, allocations: 13.56 kB / 0.5869 GB, free: 1.406 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.874e-05/0.4358, allocations: 15.28 kB / 0.5869 GB, free: 1.387 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.978e-05/0.4358, allocations: 315.6 kB / 0.5872 GB, free: 1.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.153e-05/0.4358, allocations: 3.047 kB / 0.5872 GB, free: 1.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.338e-06/0.4358, allocations: 2.609 kB / 0.5873 GB, free: 1.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.835e-05/0.4359, allocations: 10.91 kB / 0.5873 GB, free: 1.062 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4359, allocations: 0 / 0.5873 GB, free: 1.062 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.603e-05/0.4359, allocations: 43.33 kB / 0.5873 GB, free: 1.023 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.4359, allocations: 5.719 kB / 0.5873 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.436, allocations: 4.812 kB / 0.5873 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.436, allocations: 0 / 0.5873 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.4361, allocations: 14.64 kB / 0.5873 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002359/0.4364, allocations: 0.58 MB / 0.5879 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.59e-05/0.4364, allocations: 3.938 kB / 0.5879 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.4364, allocations: 1.625 kB / 0.5879 GB, free: 436 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 (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.726e-05/0.4365, allocations: 122 kB / 0.588 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.235e-06/0.4365, allocations: 8.844 kB / 0.588 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.319e-05/0.4366, allocations: 48.16 kB / 0.5881 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4366, allocations: 1.031 kB / 0.5881 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.4366, allocations: 0.7031 kB / 0.5881 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.4366, allocations: 0 / 0.5881 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.597e-05/0.4367, allocations: 152 kB / 0.5882 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4367, allocations: 0 / 0.5882 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.396e-05/0.4368, allocations: 11.09 kB / 0.5882 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4368, allocations: 4.031 kB / 0.5882 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.4368, allocations: 0.75 kB / 0.5882 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000288/0.4371, allocations: 0.5838 MB / 0.5888 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4371, allocations: 0 / 0.5888 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.478e-05/0.4372, allocations: 69.98 kB / 0.5889 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.238e-05/0.4372, allocations: 82.5 kB / 0.5889 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.4372, allocations: 1.344 kB / 0.5889 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.503e-05/0.4373, allocations: 3.938 kB / 0.589 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.186e-05/0.4373, allocations: 1.797 kB / 0.589 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.4373, allocations: 1.375 kB / 0.589 GB, free: 15.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.149e-05/0.4373, allocations: 77.98 kB / 0.589 GB, free: 15.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4373, allocations: 0 / 0.589 GB, free: 15.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001944/0.4375, allocations: 11.5 kB / 0.589 GB, free: 15.21 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.0001587/0.4377, allocations: 108.9 kB / 0.5891 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000165/0.4379, allocations: 21.16 kB / 0.5892 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4379, allocations: 0 / 0.5892 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.333e-05/0.438, allocations: 22.05 kB / 0.5892 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.4381, allocations: 5.562 kB / 0.5892 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003056/0.4384, allocations: 119.6 kB / 0.5893 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.4387, allocations: 0.6744 MB / 0.59 GB, free: 14.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.658e-05/0.4388, allocations: 0.75 kB / 0.59 GB, free: 14.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.376e-05/0.4388, allocations: 8.188 kB / 0.59 GB, free: 14.28 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4388, allocations: 1.094 kB / 0.59 GB, free: 14.28 MB / 446.1 MB Notification: Performance of Templates: time 0.002451/0.4412, allocations: 417.4 kB / 0.5904 GB, free: 14.23 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (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 & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)