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.001084/0.001084, 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.001175/0.001175, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.357/1.357, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.95/0.95, allocations: 135.1 MB / 425.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 60.28 kB / 0.5049 GB, free: 5.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1687, allocations: 80.93 MB / 0.5839 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00244/0.1711, allocations: 1.298 MB / 0.5852 GB, free: 3.582 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009861/0.1722, allocations: 0.5972 MB / 0.5857 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.913e-05/0.1722, allocations: 0 / 0.5857 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.838e-05/0.1722, allocations: 3.938 kB / 0.5857 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.506e-05/0.1723, allocations: 0 / 0.5857 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005676/0.1729, allocations: 119.6 kB / 0.5859 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.589e-05/0.1729, allocations: 15.88 kB / 0.5859 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.173, allocations: 4 kB / 0.5859 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.686e-05/0.173, allocations: 4 kB / 0.5859 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.019e-05/0.173, allocations: 4 kB / 0.5859 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.1731, allocations: 0 / 0.5859 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005132/0.1736, allocations: 347.3 kB / 0.5862 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.1736, allocations: 3.984 kB / 0.5862 GB, free: 2.492 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.1736, allocations: 3.938 kB / 0.5862 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.1739, allocations: 144 kB / 0.5864 GB, free: 2.348 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.1739, allocations: 0 / 0.5864 GB, free: 2.348 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1739, allocations: 0 / 0.5864 GB, free: 2.348 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.174, allocations: 3.938 kB / 0.5864 GB, free: 2.344 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.000394/0.1744, allocations: 355.5 kB / 0.5867 GB, free: 1.949 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.1744, allocations: 12.03 kB / 0.5867 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.1744, allocations: 4.844 kB / 0.5867 GB, free: 1.934 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.1746, allocations: 160.4 kB / 0.5869 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.1746, allocations: 384 / 0.5869 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.968e-06/0.1746, allocations: 384 / 0.5869 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.813e-05/0.1747, allocations: 37.81 kB / 0.5869 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.1747, allocations: 0 / 0.5869 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.1747, allocations: 0 / 0.5869 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1747, allocations: 8 kB / 0.5869 GB, free: 1.688 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.404e-05/0.1748, allocations: 4 kB / 0.5869 GB, free: 1.684 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002117/0.175, allocations: 153.6 kB / 0.5871 GB, free: 1.484 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.952e-05/0.1751, allocations: 22.61 kB / 0.5871 GB, free: 1.453 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.656e-05/0.1751, allocations: 8.922 kB / 0.5871 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.1751, allocations: 0 / 0.5871 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.1752, allocations: 42.5 kB / 0.5871 GB, free: 1.391 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.1752, allocations: 0 / 0.5871 GB, free: 1.391 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002185/0.1754, allocations: 49.62 kB / 0.5872 GB, free: 1.336 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/0.1755, allocations: 51.41 kB / 0.5872 GB, free: 1.273 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.1756, allocations: 93.86 kB / 0.5873 GB, free: 1.172 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.1756, allocations: 29.7 kB / 0.5873 GB, free: 1.137 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.1757, allocations: 84.08 kB / 0.5874 GB, free: 1.051 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.108e-05/0.1757, allocations: 4.156 kB / 0.5874 GB, free: 1.047 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.526e-05/0.1758, allocations: 21.7 kB / 0.5875 GB, free: 1.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.176, allocations: 314.8 kB / 0.5878 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/0.176, allocations: 0 / 0.5878 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.288e-06/0.176, allocations: 4 kB / 0.5878 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.48e-05/0.1761, allocations: 8.859 kB / 0.5878 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.1761, allocations: 0 / 0.5878 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.608e-05/0.1762, allocations: 53.5 kB / 0.5878 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.1762, allocations: 12.09 kB / 0.5878 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1762, allocations: 0 / 0.5878 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.1762, allocations: 0 / 0.5878 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.1765, allocations: 8 kB / 0.5878 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000501/0.177, allocations: 0.5821 MB / 0.5884 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.289e-05/0.177, allocations: 0 / 0.5884 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.177, allocations: 0 / 0.5884 GB, free: 4 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 0.0001291/0.1772, allocations: 121.9 kB / 0.5885 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.449e-05/0.1772, allocations: 3.906 kB / 0.5885 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/0.1773, allocations: 52.73 kB / 0.5886 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1773, allocations: 0 / 0.5886 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1773, allocations: 0 / 0.5886 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.1774, allocations: 0 / 0.5886 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.1775, allocations: 153.6 kB / 0.5887 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1775, allocations: 0 / 0.5887 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.411e-05/0.1776, allocations: 12.03 kB / 0.5887 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1776, allocations: 0 / 0.5887 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1776, allocations: 0 / 0.5887 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004064/0.178, allocations: 0.5937 MB / 0.5893 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1781, allocations: 0 / 0.5893 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.853e-05/0.1782, allocations: 61.27 kB / 0.5894 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.329e-05/0.1782, allocations: 81.11 kB / 0.5894 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.1783, allocations: 7.969 kB / 0.5895 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.595e-05/0.1783, allocations: 7.938 kB / 0.5895 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.898e-05/0.1783, allocations: 0 / 0.5895 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.1783, allocations: 0 / 0.5895 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.137e-05/0.1784, allocations: 79.28 kB / 0.5895 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1784, allocations: 0 / 0.5895 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002134/0.1786, allocations: 4 kB / 0.5895 GB, free: 14.71 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.0001844/0.1788, allocations: 119.3 kB / 0.5897 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001673/0.179, allocations: 23.92 kB / 0.5897 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.179, allocations: 0 / 0.5897 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.317e-05/0.1791, allocations: 19.92 kB / 0.5897 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.1792, allocations: 3.938 kB / 0.5897 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003595/0.1796, allocations: 110.1 kB / 0.5898 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.1798, allocations: 0.6729 MB / 0.5905 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.757e-05/0.1798, allocations: 0 / 0.5905 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.737e-05/0.1799, allocations: 11.44 kB / 0.5905 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of SimCode: time 1.433e-06/0.1799, allocations: 0 / 0.5905 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of Templates: time 0.002531/0.1824, allocations: 457.5 kB / 0.5909 GB, free: 13.27 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)