Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007884/0.0007884, 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.00538/0.00538, allocations: 169.6 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.355/1.355, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8633/0.8633, allocations: 132.3 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.0003319, allocations: 16.81 kB / 0.504 GB, free: 3.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4265/0.4268, allocations: 81.57 MB / 0.5837 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001331/0.4282, allocations: 0.9755 MB / 0.5846 GB, free: 3.305 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009036/0.4291, allocations: 0.5866 MB / 0.5852 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.473e-05/0.4291, allocations: 1 kB / 0.5852 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.81e-05/0.4292, allocations: 2.547 kB / 0.5852 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.581e-05/0.4292, allocations: 0.6562 kB / 0.5852 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.4297, allocations: 126.5 kB / 0.5853 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.218e-05/0.4297, allocations: 12.23 kB / 0.5853 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.216e-05/0.4298, allocations: 1.734 kB / 0.5853 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.016e-05/0.4298, allocations: 6.75 kB / 0.5853 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.451e-05/0.4299, allocations: 7.562 kB / 0.5854 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.4299, allocations: 0 / 0.5854 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005482/0.4304, allocations: 344.8 kB / 0.5857 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.187e-06/0.4304, allocations: 0 / 0.5857 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.706e-05/0.4305, allocations: 32.2 kB / 0.5857 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.4307, allocations: 137.5 kB / 0.5858 GB, free: 2.656 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4308, allocations: 1.156 kB / 0.5858 GB, free: 2.656 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4308, allocations: 0 / 0.5858 GB, free: 2.656 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.4308, allocations: 0 / 0.5858 GB, free: 2.656 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.0003167/0.4311, allocations: 357.6 kB / 0.5862 GB, free: 2.273 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.4311, allocations: 10.34 kB / 0.5862 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.656e-05/0.4312, allocations: 5.844 kB / 0.5862 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.991e-05/0.4313, allocations: 162.9 kB / 0.5864 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.4313, allocations: 384 / 0.5864 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.4313, allocations: 1.781 kB / 0.5864 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.032e-05/0.4314, allocations: 39.28 kB / 0.5864 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.4314, allocations: 0.6094 kB / 0.5864 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.4314, allocations: 4 kB / 0.5864 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.4314, allocations: 1.188 kB / 0.5864 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.514e-05/0.4314, allocations: 7.062 kB / 0.5864 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001103/0.4316, allocations: 146.3 kB / 0.5865 GB, free: 1.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.182e-05/0.4316, allocations: 25.16 kB / 0.5866 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.782e-05/0.4316, allocations: 11.81 kB / 0.5866 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.4317, allocations: 5.312 kB / 0.5866 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.4317, allocations: 35.72 kB / 0.5866 GB, free: 1.754 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.4317, allocations: 4 kB / 0.5866 GB, free: 1.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001277/0.4318, allocations: 41.05 kB / 0.5867 GB, free: 1.715 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.977e-05/0.4318, allocations: 52.12 kB / 0.5867 GB, free: 1.652 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.08e-05/0.4319, allocations: 97.88 kB / 0.5868 GB, free: 1.551 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.284e-06/0.4319, allocations: 26.73 kB / 0.5868 GB, free: 1.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.32e-05/0.4319, allocations: 80.75 kB / 0.5869 GB, free: 1.438 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.432, allocations: 13.83 kB / 0.5869 GB, free: 1.426 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.846e-05/0.432, allocations: 10.62 kB / 0.5869 GB, free: 1.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.328e-05/0.432, allocations: 317.2 kB / 0.5872 GB, free: 1.094 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.306e-05/0.4321, allocations: 6.188 kB / 0.5872 GB, free: 1.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.025e-06/0.4321, allocations: 6.391 kB / 0.5872 GB, free: 1.086 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.513e-05/0.4321, allocations: 10.67 kB / 0.5873 GB, free: 1.078 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4321, allocations: 0 / 0.5873 GB, free: 1.078 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.359e-05/0.4322, allocations: 43.97 kB / 0.5873 GB, free: 1.039 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.4322, allocations: 5.906 kB / 0.5873 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.4322, allocations: 4.094 kB / 0.5873 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.4322, allocations: 0.9375 kB / 0.5873 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.4324, allocations: 9.906 kB / 0.5873 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002231/0.4326, allocations: 0.5881 MB / 0.5879 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.783e-05/0.4326, allocations: 4.812 kB / 0.5879 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.4326, allocations: 0.875 kB / 0.5879 GB, free: 448 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.104e-05/0.4327, allocations: 117.8 kB / 0.588 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-06/0.4327, allocations: 5.781 kB / 0.588 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.081e-05/0.4328, allocations: 42.94 kB / 0.5881 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4328, allocations: 2.375 kB / 0.5881 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4328, allocations: 0 / 0.5881 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.4328, allocations: 7.875 kB / 0.5881 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.75e-05/0.4329, allocations: 155.5 kB / 0.5882 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4329, allocations: 3.984 kB / 0.5882 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.306e-05/0.433, allocations: 10.8 kB / 0.5882 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.433, allocations: 4.031 kB / 0.5882 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.433, allocations: 1.062 kB / 0.5882 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002788/0.4333, allocations: 0.5842 MB / 0.5888 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4333, allocations: 0 / 0.5888 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.417e-05/0.4334, allocations: 69.23 kB / 0.5889 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.02e-05/0.4334, allocations: 78.75 kB / 0.5889 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.4334, allocations: 1.969 kB / 0.589 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.65e-05/0.4334, allocations: 7.938 kB / 0.589 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.58e-05/0.4335, allocations: 1.75 kB / 0.589 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-06/0.4335, allocations: 1.188 kB / 0.589 GB, free: 15.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.005e-05/0.4335, allocations: 77.23 kB / 0.589 GB, free: 15.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4335, allocations: 1.375 kB / 0.589 GB, free: 15.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001949/0.4337, allocations: 10.73 kB / 0.589 GB, free: 15.22 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.0001544/0.4339, allocations: 108.5 kB / 0.5891 GB, free: 15.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001506/0.434, allocations: 17.33 kB / 0.5892 GB, free: 15.13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.434, allocations: 4 kB / 0.5892 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.701e-05/0.4341, allocations: 22.22 kB / 0.5892 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.4343, allocations: 1.422 kB / 0.5892 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000292/0.4346, allocations: 119.3 kB / 0.5893 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.4348, allocations: 0.6748 MB / 0.59 GB, free: 14.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.575e-05/0.4348, allocations: 0.75 kB / 0.59 GB, free: 14.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.22e-05/0.4349, allocations: 8.438 kB / 0.59 GB, free: 14.29 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4349, allocations: 1.125 kB / 0.59 GB, free: 14.29 MB / 446.1 MB Notification: Performance of Templates: time 0.002426/0.4373, allocations: 429.3 kB / 0.5904 GB, free: 14.24 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)