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.001479/0.001479, allocations: 106.1 kB / 16.41 MB, free: 6.492 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.001567/0.001567, allocations: 189.6 kB / 17.34 MB, free: 5.762 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 / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8335/0.8335, allocations: 132.2 MB / 423.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001206, allocations: 66.92 kB / 0.582 GB, free: 23.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1509, allocations: 80.21 MB / 0.6603 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002292/0.1533, allocations: 1.235 MB / 0.6615 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.1543, allocations: 0.6021 MB / 0.6621 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.69e-05/0.1544, allocations: 0 / 0.6621 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.092e-05/0.1544, allocations: 0 / 0.6621 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.415e-05/0.1544, allocations: 7.938 kB / 0.6621 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005297/0.155, allocations: 139.4 kB / 0.6623 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.897e-05/0.155, allocations: 4 kB / 0.6623 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.113e-05/0.1551, allocations: 0 / 0.6623 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.011e-05/0.1551, allocations: 4 kB / 0.6623 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.686e-05/0.1552, allocations: 7.922 kB / 0.6623 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.1552, allocations: 7.922 kB / 0.6623 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005453/0.1557, allocations: 343.4 kB / 0.6626 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.019e-05/0.1558, allocations: 0 / 0.6626 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.1558, allocations: 8 kB / 0.6626 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.156, allocations: 143.6 kB / 0.6628 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1561, allocations: 0 / 0.6628 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.474e-06/0.1561, allocations: 4 kB / 0.6628 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.1561, allocations: 0 / 0.6628 GB, free: 7.898 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.0004249/0.1565, allocations: 351.4 kB / 0.6631 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1566, allocations: 8.031 kB / 0.6631 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.1566, allocations: 0.9375 kB / 0.6631 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.1567, allocations: 168.3 kB / 0.6633 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1568, allocations: 12.38 kB / 0.6633 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.1568, allocations: 384 / 0.6633 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.468e-05/0.1569, allocations: 33.64 kB / 0.6633 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.1569, allocations: 0 / 0.6633 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.1569, allocations: 0 / 0.6633 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1569, allocations: 0 / 0.6633 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.561e-05/0.1569, allocations: 4 kB / 0.6633 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/0.1571, allocations: 149.7 kB / 0.6635 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.237e-05/0.1572, allocations: 30.55 kB / 0.6635 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.982e-05/0.1572, allocations: 8.859 kB / 0.6635 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.1572, allocations: 8 kB / 0.6635 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.1573, allocations: 30.56 kB / 0.6635 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.1573, allocations: 0 / 0.6635 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001465/0.1574, allocations: 45.59 kB / 0.6636 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.1575, allocations: 51.41 kB / 0.6636 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.82e-05/0.1575, allocations: 97.98 kB / 0.6637 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.1576, allocations: 29.64 kB / 0.6637 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.951e-05/0.1576, allocations: 80.14 kB / 0.6638 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.1576, allocations: 15.83 kB / 0.6638 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.1577, allocations: 13.72 kB / 0.6638 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1578, allocations: 310.8 kB / 0.6641 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.293e-05/0.1578, allocations: 4 kB / 0.6641 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.133e-06/0.1578, allocations: 128 / 0.6641 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.183e-05/0.1579, allocations: 20.92 kB / 0.6642 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1579, allocations: 0 / 0.6642 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.036e-05/0.1579, allocations: 41.62 kB / 0.6642 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.158, allocations: 4 kB / 0.6642 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.158, allocations: 0 / 0.6642 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.158, allocations: 0 / 0.6642 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.1582, allocations: 19.92 kB / 0.6642 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004166/0.1586, allocations: 0.5822 MB / 0.6648 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.682e-05/0.1586, allocations: 4.031 kB / 0.6648 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.1586, allocations: 0 / 0.6648 GB, free: 5.559 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.77e-05/0.1587, allocations: 114.1 kB / 0.6649 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.727e-06/0.1587, allocations: 4 kB / 0.6649 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.1589, allocations: 48.75 kB / 0.665 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1589, allocations: 8.109 kB / 0.665 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1589, allocations: 4 kB / 0.665 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.1589, allocations: 3.938 kB / 0.665 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.159, allocations: 157.6 kB / 0.6651 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.159, allocations: 0 / 0.6651 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.069e-05/0.1591, allocations: 8 kB / 0.6651 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1591, allocations: 0 / 0.6651 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.1591, allocations: 3.984 kB / 0.6651 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003557/0.1595, allocations: 0.5898 MB / 0.6657 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1595, allocations: 0 / 0.6657 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.408e-05/0.1596, allocations: 65.11 kB / 0.6658 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.802e-05/0.1596, allocations: 85.09 kB / 0.6659 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.1596, allocations: 3.938 kB / 0.6659 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.307e-05/0.1597, allocations: 0 / 0.6659 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.829e-05/0.1597, allocations: 128 / 0.6659 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.1597, allocations: 4 kB / 0.6659 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.62e-05/0.1597, allocations: 87.22 kB / 0.6659 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1598, allocations: 0 / 0.6659 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002039/0.16, allocations: 11.94 kB / 0.666 GB, free: 4.246 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.0001783/0.1601, allocations: 107.2 kB / 0.6661 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001644/0.1603, allocations: 19.98 kB / 0.6661 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1603, allocations: 4.156 kB / 0.6661 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.631e-05/0.1604, allocations: 19.92 kB / 0.6661 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.1606, allocations: 6.406 kB / 0.6661 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004222/0.161, allocations: 127.7 kB / 0.6662 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.1613, allocations: 0.6729 MB / 0.6669 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.594e-05/0.1613, allocations: 7.438 kB / 0.6669 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1614, allocations: 0 / 0.6669 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of Templates: time 0.002562/0.1639, allocations: 0.7003 MB / 0.6676 GB, free: 2.523 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)