Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 100.1 kB / 15.88 MB, free: 12 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.001344/0.001344, allocations: 196.1 kB / 16.79 MB, free: 6.809 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.35/1.35, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9244/0.9244, allocations: 135.1 MB / 425.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001173, allocations: 63.88 kB / 0.5053 GB, free: 5.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1509, allocations: 80.93 MB / 0.5843 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.00232/0.1533, allocations: 1.3 MB / 0.5856 GB, free: 3.676 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009934/0.1543, allocations: 0.6129 MB / 0.5862 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.46e-05/0.1543, allocations: 0 / 0.5862 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.752e-05/0.1544, allocations: 0 / 0.5862 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.426e-05/0.1544, allocations: 0 / 0.5862 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000441/0.1549, allocations: 119.6 kB / 0.5863 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.337e-05/0.1549, allocations: 19.86 kB / 0.5863 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.155, allocations: 0 / 0.5863 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.94e-05/0.155, allocations: 4 kB / 0.5864 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.956e-05/0.155, allocations: 0 / 0.5864 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.155, allocations: 0 / 0.5864 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004783/0.1555, allocations: 347.3 kB / 0.5867 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.879e-06/0.1555, allocations: 0 / 0.5867 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.267e-05/0.1556, allocations: 7.938 kB / 0.5867 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.1558, allocations: 100.1 kB / 0.5868 GB, free: 2.477 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1558, allocations: 0 / 0.5868 GB, free: 2.477 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1558, allocations: 0 / 0.5868 GB, free: 2.477 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.1558, allocations: 0 / 0.5868 GB, free: 2.477 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.0003994/0.1562, allocations: 355.4 kB / 0.5871 GB, free: 2.082 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1562, allocations: 8.031 kB / 0.5871 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.1563, allocations: 4.844 kB / 0.5871 GB, free: 2.07 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.1564, allocations: 168.4 kB / 0.5873 GB, free: 1.867 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.1564, allocations: 384 / 0.5873 GB, free: 1.867 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.806e-06/0.1564, allocations: 8.312 kB / 0.5873 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.954e-05/0.1565, allocations: 41.75 kB / 0.5873 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.1565, allocations: 0 / 0.5873 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.1565, allocations: 0 / 0.5873 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1566, allocations: 0 / 0.5873 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.147e-05/0.1566, allocations: 12 kB / 0.5874 GB, free: 1.801 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/0.1567, allocations: 149.7 kB / 0.5875 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.81e-05/0.1568, allocations: 22.58 kB / 0.5875 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.877e-05/0.1568, allocations: 16.86 kB / 0.5875 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.1568, allocations: 0 / 0.5875 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.1569, allocations: 34.5 kB / 0.5876 GB, free: 1.512 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.1569, allocations: 0 / 0.5876 GB, free: 1.512 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001375/0.157, allocations: 41.69 kB / 0.5876 GB, free: 1.465 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.1571, allocations: 55.41 kB / 0.5877 GB, free: 1.398 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.218e-05/0.1571, allocations: 93.98 kB / 0.5878 GB, free: 1.297 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.1572, allocations: 29.7 kB / 0.5878 GB, free: 1.262 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.807e-05/0.1572, allocations: 80.14 kB / 0.5879 GB, free: 1.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.1572, allocations: 7.906 kB / 0.5879 GB, free: 1.172 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.1572, allocations: 9.719 kB / 0.5879 GB, free: 1.156 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1574, allocations: 322.8 kB / 0.5882 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.18e-05/0.1574, allocations: 3.938 kB / 0.5882 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.628e-06/0.1574, allocations: 4 kB / 0.5882 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.802e-05/0.1574, allocations: 13.05 kB / 0.5882 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1574, allocations: 0 / 0.5882 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.798e-05/0.1575, allocations: 41.64 kB / 0.5882 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1575, allocations: 7.984 kB / 0.5882 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1575, allocations: 3.984 kB / 0.5883 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1576, allocations: 4 kB / 0.5883 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.1577, allocations: 4 kB / 0.5883 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003419/0.1581, allocations: 0.5899 MB / 0.5888 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.034e-05/0.1581, allocations: 3.984 kB / 0.5888 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.1581, allocations: 0 / 0.5888 GB, free: 128 kB / 494.1 MB 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.885e-05/0.1582, allocations: 109.8 kB / 0.5889 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.1582, allocations: 12.11 kB / 0.589 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.1583, allocations: 48.75 kB / 0.589 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.1583, allocations: 128 / 0.589 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.1584, allocations: 4 kB / 0.589 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1584, allocations: 7.875 kB / 0.589 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.1585, allocations: 149.6 kB / 0.5892 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1585, allocations: 0 / 0.5892 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.197e-05/0.1586, allocations: 11.98 kB / 0.5892 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1586, allocations: 0 / 0.5892 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.1586, allocations: 0 / 0.5892 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002864/0.1589, allocations: 0.586 MB / 0.5897 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1589, allocations: 0 / 0.5897 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.884e-05/0.159, allocations: 69.09 kB / 0.5898 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.175e-05/0.159, allocations: 77.11 kB / 0.5899 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.159, allocations: 4 kB / 0.5899 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.592e-05/0.159, allocations: 3.938 kB / 0.5899 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.698e-05/0.1591, allocations: 3.984 kB / 0.5899 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.1591, allocations: 12.12 kB / 0.5899 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.738e-05/0.1591, allocations: 75.28 kB / 0.59 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1591, allocations: 0 / 0.59 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001939/0.1593, allocations: 8 kB / 0.59 GB, free: 14.82 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.0001688/0.1595, allocations: 115.2 kB / 0.5901 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001529/0.1597, allocations: 19.98 kB / 0.5901 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1597, allocations: 160 / 0.5901 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.313e-05/0.1598, allocations: 19.92 kB / 0.5901 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.1599, allocations: 5.406 kB / 0.5901 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003666/0.1603, allocations: 130 kB / 0.5903 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.1605, allocations: 0.677 MB / 0.5909 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.341e-05/0.1606, allocations: 7.438 kB / 0.5909 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of SimCode: time 4e-07/0.1606, allocations: 0 / 0.5909 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of Templates: time 0.002163/0.1627, allocations: 0.686 MB / 0.5916 GB, free: 13.1 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)