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.001476/0.001482, allocations: 116.5 kB / 16.37 MB, free: 6.012 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.001626/0.001626, allocations: 192.6 kB / 17.31 MB, free: 5.609 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7913/0.7913, allocations: 132.2 MB / 423.4 MB, free: 6.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 71.81 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3269, allocations: 80.18 MB / 0.5815 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00228/0.3293, allocations: 1.235 MB / 0.5827 GB, free: 26.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008218/0.3301, allocations: 0.604 MB / 0.5833 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.298e-05/0.3301, allocations: 0.625 kB / 0.5833 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.437e-05/0.3302, allocations: 1.906 kB / 0.5833 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.172e-05/0.3302, allocations: 1.375 kB / 0.5833 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005482/0.3308, allocations: 142.5 kB / 0.5834 GB, free: 26.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.684e-05/0.3308, allocations: 10.47 kB / 0.5834 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.458e-05/0.3309, allocations: 5.281 kB / 0.5835 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.782e-05/0.3309, allocations: 5.375 kB / 0.5835 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.172e-05/0.331, allocations: 9.047 kB / 0.5835 GB, free: 26.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.331, allocations: 1.312 kB / 0.5835 GB, free: 26.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004486/0.3314, allocations: 345.3 kB / 0.5838 GB, free: 25.81 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.799e-06/0.3314, allocations: 0 / 0.5838 GB, free: 25.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.894e-05/0.3315, allocations: 2.719 kB / 0.5838 GB, free: 25.81 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.3317, allocations: 145.2 kB / 0.5839 GB, free: 25.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3317, allocations: 1.312 kB / 0.5839 GB, free: 25.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3317, allocations: 0 / 0.5839 GB, free: 25.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.3317, allocations: 0 / 0.5839 GB, free: 25.73 MB / 446.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.0002958/0.332, allocations: 353.6 kB / 0.5843 GB, free: 25.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.3321, allocations: 8.406 kB / 0.5843 GB, free: 25.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.964e-05/0.3321, allocations: 2.375 kB / 0.5843 GB, free: 25.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.055e-05/0.3322, allocations: 166.3 kB / 0.5844 GB, free: 25.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.3322, allocations: 384 / 0.5844 GB, free: 25.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.864e-06/0.3322, allocations: 3.531 kB / 0.5844 GB, free: 25.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.935e-05/0.3323, allocations: 36.64 kB / 0.5845 GB, free: 25.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.423e-06/0.3323, allocations: 4 kB / 0.5845 GB, free: 25.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.3323, allocations: 3.562 kB / 0.5845 GB, free: 25.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.3324, allocations: 0 / 0.5845 GB, free: 25.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.516e-05/0.3324, allocations: 10.25 kB / 0.5845 GB, free: 25.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001079/0.3325, allocations: 149 kB / 0.5846 GB, free: 24.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.199e-05/0.3325, allocations: 24.77 kB / 0.5847 GB, free: 24.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.65e-05/0.3326, allocations: 9.609 kB / 0.5847 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.3326, allocations: 0 / 0.5847 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.521e-05/0.3326, allocations: 39.61 kB / 0.5847 GB, free: 24.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.3326, allocations: 1.125 kB / 0.5847 GB, free: 24.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001243/0.3327, allocations: 42.64 kB / 0.5848 GB, free: 24.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.3328, allocations: 52.97 kB / 0.5848 GB, free: 24.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.816e-05/0.3328, allocations: 97.58 kB / 0.5849 GB, free: 24.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.122e-06/0.3328, allocations: 26.83 kB / 0.5849 GB, free: 24.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.423e-05/0.3329, allocations: 89.28 kB / 0.585 GB, free: 24.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.3329, allocations: 8.906 kB / 0.585 GB, free: 24.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.3329, allocations: 12.69 kB / 0.585 GB, free: 24.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.361e-05/0.333, allocations: 313.6 kB / 0.5853 GB, free: 24.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.225e-05/0.333, allocations: 5.5 kB / 0.5853 GB, free: 24.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.025e-06/0.333, allocations: 2.469 kB / 0.5853 GB, free: 24.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.896e-05/0.333, allocations: 14.48 kB / 0.5854 GB, free: 24.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.333, allocations: 1.406 kB / 0.5854 GB, free: 24.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.659e-05/0.3331, allocations: 46.97 kB / 0.5854 GB, free: 24.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.3331, allocations: 5.219 kB / 0.5854 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3331, allocations: 2.531 kB / 0.5854 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.3331, allocations: 1.094 kB / 0.5854 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.3333, allocations: 10.64 kB / 0.5854 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002333/0.3335, allocations: 0.5842 MB / 0.586 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.916e-05/0.3336, allocations: 5.188 kB / 0.586 GB, free: 23.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.3336, allocations: 0 / 0.586 GB, free: 23.51 MB / 446.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 4.746e-05/0.3336, allocations: 112.3 kB / 0.5861 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.679e-06/0.3336, allocations: 5.438 kB / 0.5861 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.48e-05/0.3338, allocations: 46.69 kB / 0.5861 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3338, allocations: 1.25 kB / 0.5861 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3338, allocations: 0 / 0.5861 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3338, allocations: 1.188 kB / 0.5861 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.698e-05/0.3338, allocations: 152.1 kB / 0.5863 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3338, allocations: 0.5938 kB / 0.5863 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.16e-05/0.3339, allocations: 8.562 kB / 0.5863 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3339, allocations: 1.406 kB / 0.5863 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.3339, allocations: 3.984 kB / 0.5863 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001711/0.3341, allocations: 0.5926 MB / 0.5869 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3341, allocations: 1.375 kB / 0.5869 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.337e-05/0.3342, allocations: 60.92 kB / 0.5869 GB, free: 22.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.097e-05/0.3342, allocations: 86.59 kB / 0.587 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.3342, allocations: 4 kB / 0.587 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.59e-05/0.3343, allocations: 7.938 kB / 0.587 GB, free: 22.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.353e-05/0.3343, allocations: 5.391 kB / 0.587 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.3343, allocations: 6.406 kB / 0.5871 GB, free: 22.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.764e-05/0.3343, allocations: 81.38 kB / 0.5871 GB, free: 22.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3343, allocations: 0 / 0.5871 GB, free: 22.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001995/0.3345, allocations: 11.41 kB / 0.5871 GB, free: 22.28 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.0001465/0.3347, allocations: 107.6 kB / 0.5872 GB, free: 22.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001591/0.3348, allocations: 21.17 kB / 0.5873 GB, free: 22.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3348, allocations: 0.625 kB / 0.5873 GB, free: 22.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.622e-05/0.3349, allocations: 15.11 kB / 0.5873 GB, free: 22.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.3351, allocations: 5 kB / 0.5873 GB, free: 22.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003304/0.3354, allocations: 109.9 kB / 0.5874 GB, free: 22.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.019e-05/0.3355, allocations: 0.6728 MB / 0.588 GB, free: 21.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.81e-05/0.3355, allocations: 2.562 kB / 0.588 GB, free: 21.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.196e-05/0.3356, allocations: 7.438 kB / 0.5881 GB, free: 21.36 MB / 446.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3356, allocations: 0 / 0.5881 GB, free: 21.36 MB / 446.1 MB Notification: Performance of Templates: time 0.002328/0.3379, allocations: 457.9 kB / 0.5885 GB, free: 21.17 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)