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.004678/0.004678, allocations: 103 kB / 15.73 MB, free: 6.051 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.001071/0.001071, allocations: 197.2 kB / 16.67 MB, free: 5.98 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7753/0.7753, allocations: 132.2 MB / 422.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 67.62 kB / 0.5813 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1684, allocations: 80.21 MB / 0.6597 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00248/0.1709, allocations: 1.234 MB / 0.6609 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009814/0.1719, allocations: 0.5981 MB / 0.6615 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.324e-05/0.172, allocations: 0 / 0.6615 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.922e-05/0.172, allocations: 0 / 0.6615 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.173e-05/0.1721, allocations: 3.938 kB / 0.6615 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006246/0.1727, allocations: 143.4 kB / 0.6616 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.93e-05/0.1728, allocations: 8 kB / 0.6616 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.952e-05/0.1728, allocations: 7.922 kB / 0.6616 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.009e-05/0.1729, allocations: 4 kB / 0.6616 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.002e-05/0.1729, allocations: 4 kB / 0.6616 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.1729, allocations: 0 / 0.6616 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005021/0.1734, allocations: 339.4 kB / 0.6619 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.1735, allocations: 3.938 kB / 0.662 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.448e-05/0.1735, allocations: 4 kB / 0.662 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.1738, allocations: 143.6 kB / 0.6621 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1738, allocations: 4 kB / 0.6621 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.784e-06/0.1738, allocations: 0 / 0.6621 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.1738, allocations: 0 / 0.6621 GB, free: 11.02 MB / 0.4981 GB 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.0004056/0.1742, allocations: 351.5 kB / 0.6624 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.1742, allocations: 12.02 kB / 0.6624 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.197e-05/0.1743, allocations: 4.938 kB / 0.6624 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.1744, allocations: 168.3 kB / 0.6626 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.1744, allocations: 384 / 0.6626 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.1744, allocations: 4.359 kB / 0.6626 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.1745, allocations: 45.64 kB / 0.6627 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1746, allocations: 0 / 0.6627 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.1746, allocations: 0 / 0.6627 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1746, allocations: 0 / 0.6627 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.988e-05/0.1746, allocations: 7.984 kB / 0.6627 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001697/0.1748, allocations: 149.7 kB / 0.6628 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.545e-05/0.1749, allocations: 26.48 kB / 0.6628 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.375e-05/0.1749, allocations: 16.91 kB / 0.6628 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.1749, allocations: 3.938 kB / 0.6629 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.175, allocations: 34.56 kB / 0.6629 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.175, allocations: 0 / 0.6629 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001651/0.1751, allocations: 41.61 kB / 0.6629 GB, free: 10 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.1752, allocations: 51.41 kB / 0.663 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.327e-05/0.1753, allocations: 97.97 kB / 0.6631 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.1753, allocations: 37.77 kB / 0.6631 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.975e-05/0.1753, allocations: 80.14 kB / 0.6632 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.1754, allocations: 3.938 kB / 0.6632 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.1754, allocations: 13.72 kB / 0.6632 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1755, allocations: 314.8 kB / 0.6635 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.262e-05/0.1755, allocations: 0 / 0.6635 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.406e-05/0.1756, allocations: 7.984 kB / 0.6635 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.14e-05/0.1756, allocations: 16.92 kB / 0.6635 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1756, allocations: 0 / 0.6635 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.389e-05/0.1757, allocations: 41.55 kB / 0.6636 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1757, allocations: 8 kB / 0.6636 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1757, allocations: 0 / 0.6636 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1757, allocations: 0 / 0.6636 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.1759, allocations: 15.92 kB / 0.6636 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003648/0.1763, allocations: 0.5822 MB / 0.6642 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.891e-05/0.1763, allocations: 0 / 0.6642 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.1763, allocations: 0 / 0.6642 GB, free: 8.668 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 9.207e-05/0.1764, allocations: 118.5 kB / 0.6643 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-06/0.1764, allocations: 0 / 0.6643 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.1766, allocations: 52.73 kB / 0.6643 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1766, allocations: 0 / 0.6643 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1766, allocations: 0 / 0.6643 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1766, allocations: 4.125 kB / 0.6643 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.1767, allocations: 153.6 kB / 0.6645 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1767, allocations: 0 / 0.6645 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.448e-05/0.1768, allocations: 11.98 kB / 0.6645 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1768, allocations: 0 / 0.6645 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.1768, allocations: 0 / 0.6645 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003143/0.1771, allocations: 0.586 MB / 0.665 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1772, allocations: 96 / 0.665 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.078e-05/0.1773, allocations: 81 kB / 0.6651 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.522e-05/0.1773, allocations: 77.11 kB / 0.6652 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.1773, allocations: 3.938 kB / 0.6652 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.639e-05/0.1773, allocations: 4 kB / 0.6652 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.553e-05/0.1774, allocations: 7.938 kB / 0.6652 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.1774, allocations: 0 / 0.6652 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.639e-05/0.1774, allocations: 79.31 kB / 0.6653 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.443e-06/0.1774, allocations: 0 / 0.6653 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002164/0.1776, allocations: 19.86 kB / 0.6653 GB, free: 7.352 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.0001768/0.1778, allocations: 107.2 kB / 0.6654 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001853/0.178, allocations: 19.98 kB / 0.6654 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.178, allocations: 3.938 kB / 0.6654 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.258e-05/0.1781, allocations: 16.14 kB / 0.6654 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.1783, allocations: 4.812 kB / 0.6655 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003693/0.1787, allocations: 102 kB / 0.6656 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.1789, allocations: 0.6729 MB / 0.6662 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.992e-05/0.179, allocations: 3.984 kB / 0.6662 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.707e-05/0.179, allocations: 11.44 kB / 0.6662 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.179, allocations: 0 / 0.6662 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of Templates: time 0.002526/0.1815, allocations: 461.4 kB / 0.6667 GB, free: 5.934 MB / 0.4981 GB 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)