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.001308/0.001308, allocations: 107.7 kB / 16.41 MB, free: 6.484 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.001392/0.001392, allocations: 187 kB / 17.34 MB, free: 5.734 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.796/0.796, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 69.34 kB / 0.5863 GB, free: 21.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1599, allocations: 80.92 MB / 0.6653 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002685/0.1626, allocations: 1.253 MB / 0.6665 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.1639, allocations: 0.588 MB / 0.6671 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.556e-05/0.164, allocations: 4 kB / 0.6671 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.16e-05/0.164, allocations: 0 / 0.6671 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.035e-05/0.1641, allocations: 3.938 kB / 0.6671 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007966/0.1649, allocations: 135.4 kB / 0.6672 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.805e-05/0.165, allocations: 11.94 kB / 0.6672 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.251e-05/0.1651, allocations: 3.984 kB / 0.6672 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.57e-05/0.1651, allocations: 4 kB / 0.6672 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.564e-05/0.1652, allocations: 3.984 kB / 0.6672 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.1652, allocations: 4 kB / 0.6673 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006369/0.1658, allocations: 339.4 kB / 0.6676 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.1659, allocations: 3.938 kB / 0.6676 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.783e-05/0.1659, allocations: 4 kB / 0.6676 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003678/0.1663, allocations: 143.6 kB / 0.6677 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.1663, allocations: 4 kB / 0.6677 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1663, allocations: 0 / 0.6677 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.1663, allocations: 0 / 0.6677 GB, free: 3.43 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.0004914/0.1668, allocations: 355.4 kB / 0.6681 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.1669, allocations: 17.09 kB / 0.6681 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.1669, allocations: 0.9375 kB / 0.6681 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.167, allocations: 164.3 kB / 0.6682 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.1671, allocations: 4.375 kB / 0.6682 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.1671, allocations: 384 / 0.6682 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.1672, allocations: 41.58 kB / 0.6683 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1672, allocations: 0 / 0.6683 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1672, allocations: 0 / 0.6683 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1673, allocations: 0 / 0.6683 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.235e-05/0.1673, allocations: 7.984 kB / 0.6683 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001903/0.1675, allocations: 149.7 kB / 0.6684 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.955e-05/0.1676, allocations: 26.55 kB / 0.6685 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.685e-05/0.1676, allocations: 12.84 kB / 0.6685 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.1676, allocations: 3.938 kB / 0.6685 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.1677, allocations: 34.62 kB / 0.6685 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 2.294e-06/0.1677, allocations: 0 / 0.6685 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001778/0.1679, allocations: 37.7 kB / 0.6685 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.1679, allocations: 55.41 kB / 0.6686 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.738e-05/0.168, allocations: 101.8 kB / 0.6687 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.168, allocations: 25.7 kB / 0.6687 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.638e-05/0.1681, allocations: 80.14 kB / 0.6688 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.1681, allocations: 7.844 kB / 0.6688 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.1682, allocations: 17.72 kB / 0.6688 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1683, allocations: 315.1 kB / 0.6691 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.494e-05/0.1683, allocations: 4 kB / 0.6691 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.011e-05/0.1683, allocations: 3.984 kB / 0.6691 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.69e-05/0.1684, allocations: 16.86 kB / 0.6691 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1684, allocations: 0 / 0.6691 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.628e-05/0.1685, allocations: 41.62 kB / 0.6692 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1685, allocations: 4 kB / 0.6692 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.1685, allocations: 0 / 0.6692 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.1685, allocations: 4.094 kB / 0.6692 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.1687, allocations: 15.92 kB / 0.6692 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004249/0.1692, allocations: 0.5859 MB / 0.6698 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.241e-05/0.1692, allocations: 4.031 kB / 0.6698 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.1692, allocations: 0 / 0.6698 GB, free: 1.078 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.872e-05/0.1693, allocations: 113.9 kB / 0.6699 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.01e-05/0.1693, allocations: 0 / 0.6699 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.1694, allocations: 48.75 kB / 0.6699 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1695, allocations: 4 kB / 0.6699 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1695, allocations: 0 / 0.6699 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1695, allocations: 0 / 0.6699 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.1696, allocations: 157.6 kB / 0.6701 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1696, allocations: 4 kB / 0.6701 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.834e-05/0.1697, allocations: 7.984 kB / 0.6701 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1697, allocations: 4 kB / 0.6701 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.1697, allocations: 4.031 kB / 0.6701 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003643/0.1701, allocations: 0.5859 MB / 0.6707 GB, free: 64 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1701, allocations: 0 / 0.6707 GB, free: 64 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.1702, allocations: 73 kB / 0.6708 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.1703, allocations: 85.23 kB / 0.6708 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.1703, allocations: 3.938 kB / 0.6708 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.539e-05/0.1703, allocations: 0 / 0.6708 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.814e-05/0.1703, allocations: 0 / 0.6708 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.1704, allocations: 0 / 0.6708 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.718e-05/0.1704, allocations: 79.28 kB / 0.6709 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.185e-06/0.1704, allocations: 0 / 0.6709 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002154/0.1706, allocations: 19.88 kB / 0.6709 GB, free: 15.77 MB / 0.5137 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.0001955/0.1708, allocations: 112.7 kB / 0.671 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001938/0.171, allocations: 23.92 kB / 0.6711 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.171, allocations: 0 / 0.6711 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.315e-05/0.1711, allocations: 11.98 kB / 0.6711 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000155/0.1713, allocations: 9.688 kB / 0.6711 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004707/0.1718, allocations: 119.9 kB / 0.6712 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.1721, allocations: 0.6768 MB / 0.6719 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.231e-05/0.1721, allocations: 7.438 kB / 0.6719 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.1722, allocations: 0 / 0.6719 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of Templates: time 0.002862/0.175, allocations: 0.6978 MB / 0.6725 GB, free: 14.05 MB / 0.5137 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)