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.001546/0.001546, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002031/0.002031, allocations: 182.9 kB / 16.66 MB, free: 6.602 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7674/0.7674, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 66.08 kB / 0.5813 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1743, allocations: 80.2 MB / 0.6597 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002418/0.1768, allocations: 1.239 MB / 0.6609 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.1779, allocations: 0.5979 MB / 0.6615 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.737e-05/0.178, allocations: 4 kB / 0.6615 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.816e-05/0.178, allocations: 0 / 0.6615 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.923e-05/0.1781, allocations: 7.984 kB / 0.6615 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005155/0.1786, allocations: 137.2 kB / 0.6616 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.213e-05/0.1787, allocations: 11.92 kB / 0.6616 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.965e-05/0.1787, allocations: 4 kB / 0.6616 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.345e-05/0.1787, allocations: 7.984 kB / 0.6616 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.781e-05/0.1788, allocations: 3.938 kB / 0.6616 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.1788, allocations: 4 kB / 0.6616 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005157/0.1793, allocations: 339.3 kB / 0.6619 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.192e-05/0.1794, allocations: 7.984 kB / 0.662 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.369e-05/0.1794, allocations: 4 kB / 0.662 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002726/0.1797, allocations: 143.5 kB / 0.6621 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1797, allocations: 0 / 0.6621 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.106e-06/0.1797, allocations: 3.984 kB / 0.6621 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.1797, allocations: 0 / 0.6621 GB, free: 11.06 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.0005835/0.1803, allocations: 351.1 kB / 0.6624 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1803, allocations: 8.031 kB / 0.6624 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.425e-05/0.1804, allocations: 4.891 kB / 0.6624 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.1805, allocations: 168.4 kB / 0.6626 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.1805, allocations: 384 / 0.6626 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.1806, allocations: 384 / 0.6626 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.1807, allocations: 37.62 kB / 0.6626 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.1807, allocations: 3.984 kB / 0.6626 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.1807, allocations: 3.938 kB / 0.6627 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.1807, allocations: 0 / 0.6627 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.194e-05/0.1807, allocations: 8 kB / 0.6627 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002296/0.181, allocations: 153.7 kB / 0.6628 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.537e-05/0.181, allocations: 26.52 kB / 0.6628 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.11e-05/0.1811, allocations: 8.922 kB / 0.6628 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.1811, allocations: 3.938 kB / 0.6628 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.1811, allocations: 30.56 kB / 0.6629 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.1811, allocations: 0 / 0.6629 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001622/0.1813, allocations: 45.62 kB / 0.6629 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.1814, allocations: 63.47 kB / 0.663 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.621e-05/0.1814, allocations: 89.86 kB / 0.6631 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.1815, allocations: 25.7 kB / 0.6631 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.064e-05/0.1815, allocations: 84.14 kB / 0.6632 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.1815, allocations: 7.953 kB / 0.6632 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.1816, allocations: 9.719 kB / 0.6632 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1817, allocations: 318.8 kB / 0.6635 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.484e-05/0.1817, allocations: 8.125 kB / 0.6635 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.137e-06/0.1817, allocations: 4 kB / 0.6635 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.989e-05/0.1818, allocations: 12.8 kB / 0.6635 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1818, allocations: 0 / 0.6635 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.874e-05/0.1819, allocations: 41.64 kB / 0.6636 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1819, allocations: 5.875 kB / 0.6636 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1819, allocations: 3.984 kB / 0.6636 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.1819, allocations: 4 kB / 0.6636 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.1821, allocations: 4 kB / 0.6636 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005257/0.1826, allocations: 0.5939 MB / 0.6642 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.049e-05/0.1826, allocations: 3.953 kB / 0.6642 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.1827, allocations: 0 / 0.6642 GB, free: 8.711 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.93e-05/0.1828, allocations: 114.4 kB / 0.6643 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-06/0.1828, allocations: 4.031 kB / 0.6643 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.1829, allocations: 52.91 kB / 0.6643 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1829, allocations: 0 / 0.6643 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1829, allocations: 0 / 0.6643 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.1829, allocations: 0 / 0.6643 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.1831, allocations: 149.6 kB / 0.6645 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1831, allocations: 0 / 0.6645 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.056e-05/0.1831, allocations: 11.98 kB / 0.6645 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1831, allocations: 0 / 0.6645 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.1832, allocations: 0 / 0.6645 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004395/0.1836, allocations: 0.5938 MB / 0.6651 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1836, allocations: 0 / 0.6651 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.998e-05/0.1837, allocations: 69.16 kB / 0.6651 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.637e-05/0.1837, allocations: 81.05 kB / 0.6652 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.1838, allocations: 7.938 kB / 0.6652 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.44e-05/0.1838, allocations: 4.125 kB / 0.6652 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.169e-05/0.1838, allocations: 7.875 kB / 0.6652 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.1838, allocations: 11.92 kB / 0.6652 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.598e-05/0.1839, allocations: 75.28 kB / 0.6653 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1839, allocations: 0 / 0.6653 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001932/0.1841, allocations: 8 kB / 0.6653 GB, free: 7.402 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.0001941/0.1843, allocations: 115.2 kB / 0.6654 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001772/0.1845, allocations: 24.08 kB / 0.6654 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1845, allocations: 0 / 0.6654 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.787e-05/0.1846, allocations: 8 kB / 0.6654 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.1847, allocations: 8.297 kB / 0.6655 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003531/0.1851, allocations: 109.9 kB / 0.6656 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.1854, allocations: 0.6768 MB / 0.6662 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.411e-05/0.1854, allocations: 4.125 kB / 0.6662 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.388e-05/0.1854, allocations: 7.438 kB / 0.6662 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1854, allocations: 0 / 0.6662 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of Templates: time 0.002724/0.1882, allocations: 462.2 kB / 0.6667 GB, free: 5.977 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)