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.0007926/0.0007928, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.006431/0.006431, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.394/1.394, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.971/0.971, allocations: 135.3 MB / 426.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003173/0.0003174, allocations: 8 kB / 0.5076 GB, free: 4.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1696, allocations: 82.32 MB / 0.588 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001525/0.1712, allocations: 0.9633 MB / 0.5889 GB, free: 1.652 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009972/0.1722, allocations: 0.6013 MB / 0.5895 GB, free: 1.051 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.484e-05/0.1722, allocations: 0 / 0.5895 GB, free: 1.051 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.591e-05/0.1722, allocations: 3.938 kB / 0.5895 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.708e-05/0.1723, allocations: 4 kB / 0.5895 GB, free: 1.043 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005104/0.1728, allocations: 127.3 kB / 0.5896 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.558e-05/0.1729, allocations: 7.938 kB / 0.5896 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.147e-05/0.1729, allocations: 3.938 kB / 0.5896 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.814e-05/0.1729, allocations: 4 kB / 0.5896 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.707e-05/0.173, allocations: 0 / 0.5896 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.748e-06/0.173, allocations: 0 / 0.5896 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004935/0.1735, allocations: 351.3 kB / 0.59 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.878e-06/0.1735, allocations: 4 kB / 0.59 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.446e-05/0.1736, allocations: 33.64 kB / 0.59 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.1738, allocations: 132 kB / 0.5901 GB, free: 400 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1738, allocations: 3.938 kB / 0.5901 GB, free: 396 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1738, allocations: 0 / 0.5901 GB, free: 396 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.1738, allocations: 0 / 0.5901 GB, free: 396 kB / 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.0003987/0.1742, allocations: 355.4 kB / 0.5905 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.1743, allocations: 8.031 kB / 0.5905 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.941e-05/0.1743, allocations: 4.844 kB / 0.5905 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.1744, allocations: 168.4 kB / 0.5907 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.1745, allocations: 384 / 0.5907 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.387e-06/0.1745, allocations: 4.359 kB / 0.5907 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.553e-05/0.1746, allocations: 37.83 kB / 0.5907 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.1746, allocations: 0 / 0.5907 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.1746, allocations: 0 / 0.5907 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1746, allocations: 0 / 0.5907 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.419e-05/0.1746, allocations: 4 kB / 0.5907 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001568/0.1748, allocations: 157.6 kB / 0.5909 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.909e-05/0.1748, allocations: 22.58 kB / 0.5909 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.797e-05/0.1749, allocations: 8.922 kB / 0.5909 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.1749, allocations: 0 / 0.5909 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.1749, allocations: 38.5 kB / 0.5909 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.1749, allocations: 3.938 kB / 0.5909 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001635/0.1751, allocations: 41.62 kB / 0.591 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.1751, allocations: 59.53 kB / 0.591 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.511e-05/0.1752, allocations: 93.86 kB / 0.5911 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.1752, allocations: 25.7 kB / 0.5911 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.925e-05/0.1753, allocations: 80.14 kB / 0.5912 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.1753, allocations: 7.906 kB / 0.5912 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.373e-05/0.1753, allocations: 13.7 kB / 0.5912 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1754, allocations: 314.8 kB / 0.5915 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.263e-05/0.1755, allocations: 4 kB / 0.5915 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.254e-06/0.1755, allocations: 4.125 kB / 0.5915 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.825e-05/0.1755, allocations: 8.859 kB / 0.5916 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1755, allocations: 0 / 0.5916 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.454e-05/0.1756, allocations: 53.56 kB / 0.5916 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1756, allocations: 6.031 kB / 0.5916 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1756, allocations: 0 / 0.5916 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1756, allocations: 0 / 0.5916 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.1758, allocations: 15.94 kB / 0.5916 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003839/0.1762, allocations: 0.5861 MB / 0.5922 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.905e-05/0.1762, allocations: 0 / 0.5922 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.1762, allocations: 4.031 kB / 0.5922 GB, free: 14.04 MB / 0.4981 GB 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.735e-05/0.1763, allocations: 113.8 kB / 0.5923 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-06/0.1764, allocations: 0 / 0.5923 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.1765, allocations: 56.75 kB / 0.5924 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1765, allocations: 0 / 0.5924 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1765, allocations: 4 kB / 0.5924 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1765, allocations: 0 / 0.5924 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.1766, allocations: 149.6 kB / 0.5925 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1766, allocations: 4 kB / 0.5925 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.405e-05/0.1767, allocations: 4 kB / 0.5925 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.1767, allocations: 4 kB / 0.5925 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.1767, allocations: 0 / 0.5925 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003238/0.1771, allocations: 0.5937 MB / 0.5931 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1771, allocations: 0 / 0.5931 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.979e-05/0.1772, allocations: 57.17 kB / 0.5932 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.1772, allocations: 81.11 kB / 0.5932 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.1772, allocations: 4 kB / 0.5932 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.797e-05/0.1772, allocations: 8.047 kB / 0.5932 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.279e-05/0.1773, allocations: 4 kB / 0.5932 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.1773, allocations: 0 / 0.5932 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.361e-05/0.1773, allocations: 79.28 kB / 0.5933 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.01e-07/0.1773, allocations: 0 / 0.5933 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002034/0.1775, allocations: 15.94 kB / 0.5933 GB, free: 12.75 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.0002116/0.1778, allocations: 107.2 kB / 0.5934 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001874/0.1779, allocations: 32.02 kB / 0.5935 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.178, allocations: 0 / 0.5935 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.706e-05/0.1781, allocations: 11.98 kB / 0.5935 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.1782, allocations: 7.984 kB / 0.5935 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004044/0.1786, allocations: 115.1 kB / 0.5936 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.179, allocations: 0.6733 MB / 0.5943 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.955e-05/0.179, allocations: 4 kB / 0.5943 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.689e-05/0.1791, allocations: 7.438 kB / 0.5943 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1791, allocations: 0 / 0.5943 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of Templates: time 0.002756/0.1818, allocations: 419.3 kB / 0.5947 GB, free: 11.35 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)