Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_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_dev_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.001114/0.001114, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001305/0.001305, allocations: 190.8 kB / 16.14 MB, free: 6.645 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.375/1.375, allocations: 222.9 MB / 239.8 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9801/0.9801, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 68.23 kB / 0.5047 GB, free: 5.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1578, allocations: 80.92 MB / 0.5837 GB, free: 5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002208/0.16, allocations: 1.308 MB / 0.585 GB, free: 3.672 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009599/0.161, allocations: 0.6089 MB / 0.5856 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.626e-05/0.161, allocations: 0 / 0.5856 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.03e-05/0.161, allocations: 0 / 0.5856 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.716e-05/0.1611, allocations: 0 / 0.5856 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003971/0.1615, allocations: 119.6 kB / 0.5857 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.55e-05/0.1615, allocations: 11.88 kB / 0.5857 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.809e-05/0.1616, allocations: 8 kB / 0.5857 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.619e-05/0.1616, allocations: 4 kB / 0.5857 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.35e-05/0.1617, allocations: 7.984 kB / 0.5857 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.1617, allocations: 0 / 0.5857 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004647/0.1621, allocations: 343.3 kB / 0.5861 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.087e-06/0.1622, allocations: 0 / 0.5861 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.095e-05/0.1622, allocations: 7.938 kB / 0.5861 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.1624, allocations: 140 kB / 0.5862 GB, free: 2.434 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1624, allocations: 0 / 0.5862 GB, free: 2.434 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1624, allocations: 0 / 0.5862 GB, free: 2.434 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.1625, allocations: 0 / 0.5862 GB, free: 2.434 MB / 494.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.0003388/0.1628, allocations: 359.4 kB / 0.5865 GB, free: 2.035 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.1628, allocations: 8.031 kB / 0.5865 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.1629, allocations: 8.844 kB / 0.5866 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.481e-05/0.163, allocations: 164.4 kB / 0.5867 GB, free: 1.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.163, allocations: 384 / 0.5867 GB, free: 1.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.163, allocations: 4.359 kB / 0.5867 GB, free: 1.816 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.599e-05/0.1631, allocations: 33.83 kB / 0.5867 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.1631, allocations: 0 / 0.5867 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.1631, allocations: 3.938 kB / 0.5867 GB, free: 1.773 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1631, allocations: 4 kB / 0.5868 GB, free: 1.77 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.507e-05/0.1632, allocations: 11.94 kB / 0.5868 GB, free: 1.758 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001392/0.1633, allocations: 149.7 kB / 0.5869 GB, free: 1.562 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.472e-05/0.1634, allocations: 22.58 kB / 0.5869 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.774e-05/0.1634, allocations: 8.922 kB / 0.5869 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.1634, allocations: 0 / 0.5869 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.1634, allocations: 42.48 kB / 0.587 GB, free: 1.469 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.1634, allocations: 0 / 0.587 GB, free: 1.469 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001228/0.1636, allocations: 45.64 kB / 0.587 GB, free: 1.418 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.1636, allocations: 51.41 kB / 0.5871 GB, free: 1.355 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.213e-05/0.1637, allocations: 89.86 kB / 0.5872 GB, free: 1.258 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.1637, allocations: 25.7 kB / 0.5872 GB, free: 1.227 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.821e-05/0.1637, allocations: 92.12 kB / 0.5873 GB, free: 1.133 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.1638, allocations: 4.156 kB / 0.5873 GB, free: 1.129 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/0.1638, allocations: 13.72 kB / 0.5873 GB, free: 1.109 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.667e-05/0.1639, allocations: 314.8 kB / 0.5876 GB, free: 0.793 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.29e-05/0.1639, allocations: 4 kB / 0.5876 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.58e-05/0.1639, allocations: 4 kB / 0.5876 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.74e-05/0.1639, allocations: 12.8 kB / 0.5876 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.164, allocations: 0 / 0.5876 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.039e-05/0.164, allocations: 45.62 kB / 0.5876 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.164, allocations: 14.06 kB / 0.5877 GB, free: 0.707 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1641, allocations: 4 kB / 0.5877 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.1641, allocations: 0 / 0.5877 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.1642, allocations: 11.98 kB / 0.5877 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003124/0.1646, allocations: 0.5821 MB / 0.5882 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.753e-05/0.1646, allocations: 0 / 0.5882 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.1646, allocations: 0 / 0.5882 GB, free: 88 kB / 494.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 8.376e-05/0.1647, allocations: 113.9 kB / 0.5884 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.001e-05/0.1647, allocations: 7.906 kB / 0.5884 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.969e-05/0.1648, allocations: 52.8 kB / 0.5884 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1648, allocations: 0 / 0.5884 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1648, allocations: 0 / 0.5884 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.1648, allocations: 0 / 0.5884 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.638e-05/0.1649, allocations: 153.6 kB / 0.5886 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1649, allocations: 0 / 0.5886 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.265e-05/0.165, allocations: 12.03 kB / 0.5886 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.165, allocations: 7.984 kB / 0.5886 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.165, allocations: 0 / 0.5886 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002708/0.1653, allocations: 0.5859 MB / 0.5891 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1653, allocations: 0 / 0.5891 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.821e-05/0.1654, allocations: 65.27 kB / 0.5892 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.048e-05/0.1654, allocations: 81.09 kB / 0.5893 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.1655, allocations: 3.938 kB / 0.5893 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.847e-05/0.1655, allocations: 7.938 kB / 0.5893 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.704e-05/0.1655, allocations: 4 kB / 0.5893 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.1655, allocations: 3.938 kB / 0.5893 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.942e-05/0.1655, allocations: 75.28 kB / 0.5894 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1655, allocations: 0 / 0.5894 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001928/0.1657, allocations: 12 kB / 0.5894 GB, free: 14.79 MB / 0.4981 GB 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.000136/0.1659, allocations: 115.3 kB / 0.5895 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001508/0.166, allocations: 19.98 kB / 0.5895 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1661, allocations: 0 / 0.5895 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.158e-05/0.1662, allocations: 15.98 kB / 0.5895 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.1663, allocations: 3.938 kB / 0.5895 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002974/0.1666, allocations: 112.4 kB / 0.5896 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.1668, allocations: 0.6731 MB / 0.5903 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.476e-05/0.1668, allocations: 0 / 0.5903 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.15e-05/0.1668, allocations: 7.438 kB / 0.5903 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1668, allocations: 0 / 0.5903 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of Templates: time 0.002204/0.1691, allocations: 435.1 kB / 0.5907 GB, free: 13.38 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)