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.001127/0.001126, allocations: 91.22 kB / 15.06 MB, free: 1.098 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.001493/0.001494, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.3 MB / 240 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9754/0.9754, allocations: 135.3 MB / 426.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003574, allocations: 8 kB / 0.507 GB, free: 5.281 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.171, allocations: 82.31 MB / 0.5874 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001329/0.1723, allocations: 0.9633 MB / 0.5883 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008893/0.1732, allocations: 0.5393 MB / 0.5888 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.468e-05/0.1733, allocations: 0 / 0.5888 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.55e-05/0.1733, allocations: 3.984 kB / 0.5888 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.916e-05/0.1734, allocations: 3.984 kB / 0.5888 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005029/0.1739, allocations: 119.6 kB / 0.589 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.51e-05/0.1739, allocations: 11.94 kB / 0.589 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.174, allocations: 3.984 kB / 0.589 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.784e-05/0.174, allocations: 4 kB / 0.589 GB, free: 1.477 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.305e-05/0.1741, allocations: 3.938 kB / 0.589 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.197e-06/0.1741, allocations: 0 / 0.589 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004825/0.1746, allocations: 331.4 kB / 0.5893 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.927e-05/0.1746, allocations: 4 kB / 0.5893 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.772e-05/0.1746, allocations: 29.64 kB / 0.5893 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.1748, allocations: 100.1 kB / 0.5894 GB, free: 1.012 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1748, allocations: 0 / 0.5894 GB, free: 1.012 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1748, allocations: 0 / 0.5894 GB, free: 1.012 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.1748, allocations: 0 / 0.5894 GB, free: 1.012 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.000381/0.1752, allocations: 351.3 kB / 0.5898 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.1753, allocations: 8.031 kB / 0.5898 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.1753, allocations: 7.906 kB / 0.5898 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.1754, allocations: 163 kB / 0.5899 GB, free: 416 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.1755, allocations: 3.938 kB / 0.5899 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.353e-06/0.1755, allocations: 7.938 kB / 0.5899 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.622e-05/0.1756, allocations: 29.7 kB / 0.59 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.1756, allocations: 0 / 0.59 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.1756, allocations: 0 / 0.59 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1756, allocations: 0 / 0.59 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.797e-05/0.1756, allocations: 11.92 kB / 0.59 GB, free: 356 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.1758, allocations: 153.7 kB / 0.5901 GB, free: 152 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.206e-05/0.1758, allocations: 26.58 kB / 0.5902 GB, free: 116 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.025e-05/0.1759, allocations: 16.91 kB / 0.5902 GB, free: 96 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.1759, allocations: 0 / 0.5902 GB, free: 96 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.1759, allocations: 30.56 kB / 0.5902 GB, free: 56 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.1759, allocations: 0 / 0.5902 GB, free: 56 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001261/0.1761, allocations: 41.64 kB / 0.5902 GB, free: 8 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.1761, allocations: 55.41 kB / 0.5903 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.523e-05/0.1762, allocations: 97.97 kB / 0.5904 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.1762, allocations: 25.7 kB / 0.5904 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.827e-05/0.1762, allocations: 84.14 kB / 0.5905 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.1763, allocations: 7.906 kB / 0.5905 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-06/0.1763, allocations: 0 / 0.5905 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.779e-05/0.1764, allocations: 310.8 kB / 0.5908 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.228e-05/0.1764, allocations: 4 kB / 0.5908 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.404e-06/0.1764, allocations: 0 / 0.5908 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.007e-05/0.1764, allocations: 12.14 kB / 0.5908 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1764, allocations: 0 / 0.5908 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.837e-05/0.1765, allocations: 45.62 kB / 0.5909 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1765, allocations: 4 kB / 0.5909 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.1766, allocations: 0 / 0.5909 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.1766, allocations: 0 / 0.5909 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.1767, allocations: 15.98 kB / 0.5909 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003552/0.1771, allocations: 0.5822 MB / 0.5914 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.06e-05/0.1771, allocations: 7.984 kB / 0.5914 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.1771, allocations: 0 / 0.5914 GB, free: 14.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.051e-05/0.1772, allocations: 109.8 kB / 0.5916 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-06/0.1772, allocations: 4 kB / 0.5916 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.686e-05/0.1773, allocations: 44.75 kB / 0.5916 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1773, allocations: 4 kB / 0.5916 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1773, allocations: 4.062 kB / 0.5916 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1774, allocations: 4 kB / 0.5916 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.1775, allocations: 157.5 kB / 0.5918 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1775, allocations: 0 / 0.5918 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.374e-05/0.1775, allocations: 8 kB / 0.5918 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.1776, allocations: 7.922 kB / 0.5918 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.1776, allocations: 0 / 0.5918 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002928/0.1779, allocations: 0.5859 MB / 0.5923 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1779, allocations: 4.094 kB / 0.5924 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.996e-05/0.178, allocations: 69.16 kB / 0.5924 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.178, allocations: 77.11 kB / 0.5925 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.178, allocations: 0 / 0.5925 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.625e-05/0.178, allocations: 3.984 kB / 0.5925 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.261e-05/0.1781, allocations: 3.953 kB / 0.5925 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.1781, allocations: 4 kB / 0.5925 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.764e-05/0.1781, allocations: 79.31 kB / 0.5926 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1781, allocations: 0 / 0.5926 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001956/0.1783, allocations: 12 kB / 0.5926 GB, free: 13.4 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001566/0.1785, allocations: 114.4 kB / 0.5927 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001555/0.1786, allocations: 23.92 kB / 0.5927 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1786, allocations: 0 / 0.5927 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.871e-05/0.1787, allocations: 16.14 kB / 0.5927 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.1789, allocations: 4 kB / 0.5927 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002726/0.1792, allocations: 111.1 kB / 0.5928 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.1794, allocations: 0.6731 MB / 0.5935 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.88e-05/0.1794, allocations: 4 kB / 0.5935 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.244e-05/0.1795, allocations: 11.5 kB / 0.5935 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1795, allocations: 0 / 0.5935 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of Templates: time 0.002393/0.1819, allocations: 415.5 kB / 0.5939 GB, free: 12.01 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)