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.0009226/0.0009226, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001005/0.001005, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.206/1.206, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8314/0.8314, allocations: 135.2 MB / 426.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.000362, allocations: 12 kB / 0.5068 GB, free: 5.285 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1507, allocations: 82.31 MB / 0.5872 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00113/0.1519, allocations: 0.9555 MB / 0.5881 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004638/0.1524, allocations: 303.2 kB / 0.5884 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.74e-05/0.1524, allocations: 4 kB / 0.5884 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.038e-05/0.1524, allocations: 0 / 0.5884 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.447e-05/0.1525, allocations: 3.984 kB / 0.5884 GB, free: 1.879 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.1527, allocations: 55.8 kB / 0.5885 GB, free: 1.824 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.532e-05/0.1528, allocations: 15.97 kB / 0.5885 GB, free: 1.809 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.635e-05/0.1528, allocations: 0 / 0.5885 GB, free: 1.809 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.593e-05/0.1528, allocations: 4 kB / 0.5885 GB, free: 1.805 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.484e-05/0.1529, allocations: 0 / 0.5885 GB, free: 1.805 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.817e-06/0.1529, allocations: 0 / 0.5885 GB, free: 1.805 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002452/0.1531, allocations: 183.6 kB / 0.5887 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.362e-06/0.1532, allocations: 4 kB / 0.5887 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.05e-05/0.1532, allocations: 29.7 kB / 0.5887 GB, free: 1.586 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.1533, allocations: 52.16 kB / 0.5888 GB, free: 1.535 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.1533, allocations: 3.938 kB / 0.5888 GB, free: 1.531 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1533, allocations: 0 / 0.5888 GB, free: 1.531 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1533, allocations: 0 / 0.5888 GB, free: 1.531 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.0003254/0.1537, allocations: 331.4 kB / 0.5891 GB, free: 1.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.1537, allocations: 8.031 kB / 0.5891 GB, free: 1.152 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.438e-05/0.1537, allocations: 7.906 kB / 0.5891 GB, free: 1.145 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.1538, allocations: 167 kB / 0.5893 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.1539, allocations: 4 kB / 0.5893 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.1539, allocations: 3.938 kB / 0.5893 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.889e-05/0.154, allocations: 33.69 kB / 0.5893 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.154, allocations: 0 / 0.5893 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.523e-06/0.154, allocations: 0 / 0.5893 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.154, allocations: 0 / 0.5893 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.008e-05/0.154, allocations: 4 kB / 0.5893 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001335/0.1542, allocations: 161.6 kB / 0.5894 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.611e-05/0.1542, allocations: 22.61 kB / 0.5895 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.1542, allocations: 0 / 0.5895 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.1542, allocations: 38.62 kB / 0.5895 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.1543, allocations: 0 / 0.5895 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001285/0.1544, allocations: 37.64 kB / 0.5895 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.1544, allocations: 55.39 kB / 0.5896 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.855e-05/0.1545, allocations: 102 kB / 0.5897 GB, free: 396 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.1545, allocations: 25.7 kB / 0.5897 GB, free: 364 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.698e-05/0.1545, allocations: 80.14 kB / 0.5898 GB, free: 280 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.1546, allocations: 3.906 kB / 0.5898 GB, free: 276 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.923e-06/0.1546, allocations: 0 / 0.5898 GB, free: 276 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1547, allocations: 318.8 kB / 0.5901 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.287e-06/0.1547, allocations: 0 / 0.5901 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.476e-06/0.1547, allocations: 3.984 kB / 0.5901 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.327e-05/0.1547, allocations: 8.188 kB / 0.5901 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1547, allocations: 0 / 0.5901 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.83e-05/0.1548, allocations: 41.66 kB / 0.5902 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.1548, allocations: 8 kB / 0.5902 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1548, allocations: 0 / 0.5902 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1549, allocations: 0 / 0.5902 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.155, allocations: 15.92 kB / 0.5902 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003218/0.1554, allocations: 0.5822 MB / 0.5907 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.69e-05/0.1554, allocations: 0 / 0.5907 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.1554, allocations: 3.938 kB / 0.5907 GB, free: 15.26 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 6.819e-05/0.1555, allocations: 113.8 kB / 0.5909 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.162e-06/0.1555, allocations: 0 / 0.5909 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.405e-05/0.1556, allocations: 56.64 kB / 0.5909 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1556, allocations: 0 / 0.5909 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1556, allocations: 4.125 kB / 0.5909 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1556, allocations: 3.938 kB / 0.5909 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.235e-05/0.1557, allocations: 157.6 kB / 0.5911 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1557, allocations: 0 / 0.5911 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.428e-05/0.1558, allocations: 11.98 kB / 0.5911 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1558, allocations: 0 / 0.5911 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.1558, allocations: 0 / 0.5911 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002619/0.1561, allocations: 0.5822 MB / 0.5916 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1561, allocations: 12.05 kB / 0.5917 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.543e-05/0.1562, allocations: 65.06 kB / 0.5917 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/0.1562, allocations: 77.11 kB / 0.5918 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.1562, allocations: 0 / 0.5918 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.311e-05/0.1562, allocations: 0 / 0.5918 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.567e-05/0.1563, allocations: 7.984 kB / 0.5918 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-06/0.1563, allocations: 3.953 kB / 0.5918 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.165e-05/0.1563, allocations: 83.31 kB / 0.5919 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.1563, allocations: 0 / 0.5919 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001817/0.1565, allocations: 8 kB / 0.5919 GB, free: 13.96 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000151/0.1567, allocations: 115.2 kB / 0.592 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001488/0.1568, allocations: 15.98 kB / 0.592 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.1568, allocations: 0 / 0.592 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.422e-05/0.1569, allocations: 24.08 kB / 0.592 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.139e-05/0.157, allocations: 10.23 kB / 0.5921 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002861/0.1573, allocations: 103.2 kB / 0.5922 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.1576, allocations: 0.677 MB / 0.5928 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.475e-05/0.1576, allocations: 0 / 0.5928 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.213e-05/0.1576, allocations: 11.5 kB / 0.5928 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.1576, allocations: 4 kB / 0.5928 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of Templates: time 0.002238/0.1598, allocations: 408.4 kB / 0.5932 GB, free: 12.57 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: