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.001356/0.001356, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001665/0.001665, allocations: 195.2 kB / 16.26 MB, free: 6.621 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.37/1.37, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7247/0.7247, allocations: 132.2 MB / 422.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 59.66 kB / 0.5013 GB, free: 9.09 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1507, allocations: 80.21 MB / 0.5796 GB, free: 9.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002286/0.153, allocations: 1.302 MB / 0.5809 GB, free: 7.785 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009481/0.154, allocations: 0.5973 MB / 0.5815 GB, free: 7.188 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.616e-05/0.154, allocations: 0 / 0.5815 GB, free: 7.188 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.879e-05/0.1541, allocations: 0 / 0.5815 GB, free: 7.188 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.044e-05/0.1541, allocations: 3.984 kB / 0.5815 GB, free: 7.184 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004353/0.1545, allocations: 120.6 kB / 0.5816 GB, free: 7.066 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.788e-05/0.1546, allocations: 11.88 kB / 0.5816 GB, free: 7.055 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.864e-05/0.1546, allocations: 12 kB / 0.5816 GB, free: 7.043 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.515e-05/0.1547, allocations: 0 / 0.5816 GB, free: 7.043 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.581e-05/0.1547, allocations: 4 kB / 0.5816 GB, free: 7.039 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.1547, allocations: 0 / 0.5816 GB, free: 7.039 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004422/0.1552, allocations: 343.3 kB / 0.5819 GB, free: 6.703 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.1552, allocations: 7.984 kB / 0.5819 GB, free: 6.695 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.594e-05/0.1552, allocations: 3.938 kB / 0.5819 GB, free: 6.691 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.1554, allocations: 144 kB / 0.5821 GB, free: 6.551 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1554, allocations: 0 / 0.5821 GB, free: 6.551 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1555, allocations: 0 / 0.5821 GB, free: 6.551 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.1555, allocations: 0 / 0.5821 GB, free: 6.551 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.0003448/0.1558, allocations: 363.3 kB / 0.5824 GB, free: 6.148 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.1559, allocations: 8.031 kB / 0.5824 GB, free: 6.141 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.681e-05/0.1559, allocations: 4.938 kB / 0.5824 GB, free: 6.137 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.156, allocations: 160.4 kB / 0.5826 GB, free: 5.941 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.156, allocations: 384 / 0.5826 GB, free: 5.941 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-06/0.156, allocations: 4.312 kB / 0.5826 GB, free: 5.938 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.423e-05/0.1561, allocations: 37.81 kB / 0.5826 GB, free: 5.895 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.1561, allocations: 0 / 0.5826 GB, free: 5.895 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.1561, allocations: 4 kB / 0.5826 GB, free: 5.891 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1561, allocations: 0 / 0.5826 GB, free: 5.891 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.6e-05/0.1562, allocations: 11.94 kB / 0.5826 GB, free: 5.879 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001323/0.1563, allocations: 149.7 kB / 0.5828 GB, free: 5.684 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.033e-05/0.1564, allocations: 22.61 kB / 0.5828 GB, free: 5.652 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.935e-05/0.1564, allocations: 8.922 kB / 0.5828 GB, free: 5.641 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.1564, allocations: 0 / 0.5828 GB, free: 5.641 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.1565, allocations: 42.5 kB / 0.5829 GB, free: 5.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.1565, allocations: 0 / 0.5829 GB, free: 5.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001209/0.1566, allocations: 49.62 kB / 0.5829 GB, free: 5.535 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.1566, allocations: 51.41 kB / 0.583 GB, free: 5.473 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.502e-05/0.1567, allocations: 93.86 kB / 0.583 GB, free: 5.371 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.1567, allocations: 25.7 kB / 0.5831 GB, free: 5.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.651e-05/0.1567, allocations: 84.14 kB / 0.5832 GB, free: 5.254 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.1568, allocations: 8.156 kB / 0.5832 GB, free: 5.246 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/0.1568, allocations: 17.7 kB / 0.5832 GB, free: 5.223 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.862e-05/0.1569, allocations: 310.8 kB / 0.5835 GB, free: 4.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.349e-05/0.1569, allocations: 4 kB / 0.5835 GB, free: 4.906 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.567e-06/0.1569, allocations: 4 kB / 0.5835 GB, free: 4.902 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.78e-05/0.157, allocations: 8.859 kB / 0.5835 GB, free: 4.891 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.157, allocations: 3.938 kB / 0.5835 GB, free: 4.887 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.066e-05/0.157, allocations: 49.69 kB / 0.5835 GB, free: 4.832 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1571, allocations: 8 kB / 0.5835 GB, free: 4.824 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1571, allocations: 7.922 kB / 0.5836 GB, free: 4.816 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.1571, allocations: 0 / 0.5836 GB, free: 4.816 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.1572, allocations: 8 kB / 0.5836 GB, free: 4.809 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003282/0.1576, allocations: 0.5821 MB / 0.5841 GB, free: 4.203 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.891e-05/0.1576, allocations: 0 / 0.5841 GB, free: 4.203 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-06/0.1576, allocations: 4.062 kB / 0.5841 GB, free: 4.199 MB / 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 6.494e-05/0.1577, allocations: 118.5 kB / 0.5842 GB, free: 4.074 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.508e-06/0.1577, allocations: 7.906 kB / 0.5843 GB, free: 4.066 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.292e-05/0.1578, allocations: 44.81 kB / 0.5843 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1578, allocations: 0 / 0.5843 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1578, allocations: 0 / 0.5843 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1578, allocations: 0 / 0.5843 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.157e-05/0.1579, allocations: 153.6 kB / 0.5844 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1579, allocations: 4.031 kB / 0.5844 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.955e-05/0.158, allocations: 8 kB / 0.5845 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.158, allocations: 0 / 0.5845 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.158, allocations: 3.938 kB / 0.5845 GB, free: 3.797 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000286/0.1583, allocations: 0.5898 MB / 0.585 GB, free: 3.184 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1583, allocations: 4.031 kB / 0.585 GB, free: 3.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.206e-05/0.1584, allocations: 61.23 kB / 0.5851 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.666e-05/0.1585, allocations: 77.11 kB / 0.5852 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.1585, allocations: 7.984 kB / 0.5852 GB, free: 3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.588e-05/0.1585, allocations: 3.938 kB / 0.5852 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.104e-05/0.1585, allocations: 4 kB / 0.5852 GB, free: 2.992 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.1585, allocations: 0 / 0.5852 GB, free: 2.992 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.947e-05/0.1585, allocations: 75.28 kB / 0.5853 GB, free: 2.918 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1586, allocations: 3.938 kB / 0.5853 GB, free: 2.914 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001888/0.1587, allocations: 12.12 kB / 0.5853 GB, free: 2.902 MB / 494.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.0001502/0.1589, allocations: 115.2 kB / 0.5854 GB, free: 2.781 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001521/0.1591, allocations: 19.98 kB / 0.5854 GB, free: 2.762 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1591, allocations: 0 / 0.5854 GB, free: 2.762 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.237e-05/0.1592, allocations: 15.98 kB / 0.5854 GB, free: 2.746 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.1593, allocations: 0 / 0.5854 GB, free: 2.746 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003076/0.1596, allocations: 120.7 kB / 0.5855 GB, free: 2.605 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.1599, allocations: 0.6768 MB / 0.5862 GB, free: 1.902 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.415e-05/0.1599, allocations: 0 / 0.5862 GB, free: 1.902 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.207e-05/0.1599, allocations: 7.438 kB / 0.5862 GB, free: 1.898 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1599, allocations: 0 / 0.5862 GB, free: 1.898 MB / 494.1 MB Notification: Performance of Templates: time 0.002346/0.1622, allocations: 454.3 kB / 0.5866 GB, free: 1.488 MB / 494.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)