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.001112/0.001112, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001265/0.001265, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.331/1.331, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9707/0.9707, allocations: 135.1 MB / 425.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 64.16 kB / 0.5047 GB, free: 5.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1729, allocations: 80.92 MB / 0.5837 GB, free: 5.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002205/0.1752, allocations: 1.298 MB / 0.585 GB, free: 3.719 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009628/0.1762, allocations: 0.6205 MB / 0.5856 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.362e-05/0.1762, allocations: 0 / 0.5856 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.957e-05/0.1762, allocations: 0 / 0.5856 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.837e-05/0.1763, allocations: 3.938 kB / 0.5856 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004058/0.1767, allocations: 127.1 kB / 0.5857 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.899e-05/0.1767, allocations: 15.92 kB / 0.5857 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.938e-05/0.1768, allocations: 4 kB / 0.5857 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.564e-05/0.1768, allocations: 0 / 0.5857 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.839e-05/0.1768, allocations: 7.938 kB / 0.5857 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.1768, allocations: 0 / 0.5857 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004712/0.1773, allocations: 335.4 kB / 0.586 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.1773, allocations: 11.91 kB / 0.5861 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.94e-05/0.1774, allocations: 4 kB / 0.5861 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.1776, allocations: 136 kB / 0.5862 GB, free: 2.469 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1776, allocations: 4 kB / 0.5862 GB, free: 2.465 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1776, allocations: 0 / 0.5862 GB, free: 2.465 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.1776, allocations: 0 / 0.5862 GB, free: 2.465 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.0003757/0.178, allocations: 351.5 kB / 0.5865 GB, free: 2.074 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.1781, allocations: 8.031 kB / 0.5865 GB, free: 2.066 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/0.1781, allocations: 4.844 kB / 0.5865 GB, free: 2.062 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.1782, allocations: 168.3 kB / 0.5867 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.1782, allocations: 384 / 0.5867 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.1782, allocations: 384 / 0.5867 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.615e-05/0.1783, allocations: 41.81 kB / 0.5867 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.1784, allocations: 0 / 0.5867 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.1784, allocations: 0 / 0.5867 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1784, allocations: 0 / 0.5867 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.599e-05/0.1784, allocations: 8 kB / 0.5868 GB, free: 1.805 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001526/0.1786, allocations: 149.7 kB / 0.5869 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.741e-05/0.1786, allocations: 26.52 kB / 0.5869 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.087e-05/0.1787, allocations: 12.92 kB / 0.5869 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.1787, allocations: 0 / 0.5869 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.1787, allocations: 34.5 kB / 0.587 GB, free: 1.516 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.1787, allocations: 0 / 0.587 GB, free: 1.516 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001421/0.1789, allocations: 41.69 kB / 0.587 GB, free: 1.469 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.1789, allocations: 63.28 kB / 0.5871 GB, free: 1.395 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.087e-05/0.179, allocations: 89.86 kB / 0.5872 GB, free: 1.297 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.179, allocations: 33.89 kB / 0.5872 GB, free: 1.258 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.058e-05/0.179, allocations: 84.14 kB / 0.5873 GB, free: 1.172 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.1791, allocations: 7.906 kB / 0.5873 GB, free: 1.164 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.1791, allocations: 13.7 kB / 0.5873 GB, free: 1.145 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1792, allocations: 318.8 kB / 0.5876 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.259e-05/0.1793, allocations: 0 / 0.5876 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.039e-05/0.1793, allocations: 4 kB / 0.5876 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.809e-05/0.1793, allocations: 8.859 kB / 0.5876 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1793, allocations: 4.062 kB / 0.5876 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.208e-05/0.1794, allocations: 45.62 kB / 0.5876 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1794, allocations: 4 kB / 0.5877 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.1794, allocations: 3.938 kB / 0.5877 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1794, allocations: 4 kB / 0.5877 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.1796, allocations: 4 kB / 0.5877 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003575/0.18, allocations: 0.5861 MB / 0.5882 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.815e-05/0.18, allocations: 4.062 kB / 0.5882 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.18, allocations: 0 / 0.5882 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 9.338e-05/0.1801, allocations: 113.8 kB / 0.5883 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.1801, allocations: 8.109 kB / 0.5884 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.1802, allocations: 52.73 kB / 0.5884 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1802, allocations: 0 / 0.5884 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1803, allocations: 4 kB / 0.5884 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1803, allocations: 4.031 kB / 0.5884 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.1804, allocations: 153.6 kB / 0.5886 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1804, allocations: 0 / 0.5886 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.435e-05/0.1805, allocations: 8 kB / 0.5886 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.1805, allocations: 3.984 kB / 0.5886 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.1805, allocations: 0 / 0.5886 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003328/0.1808, allocations: 0.586 MB / 0.5891 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1808, allocations: 4.094 kB / 0.5891 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.139e-05/0.1809, allocations: 65.11 kB / 0.5892 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.238e-05/0.181, allocations: 81.11 kB / 0.5893 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.959e-06/0.181, allocations: 0 / 0.5893 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.816e-05/0.181, allocations: 7.922 kB / 0.5893 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.071e-05/0.181, allocations: 3.938 kB / 0.5893 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.181, allocations: 4 kB / 0.5893 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.823e-05/0.1811, allocations: 79.31 kB / 0.5894 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1811, allocations: 0 / 0.5894 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001947/0.1813, allocations: 12 kB / 0.5894 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.0001603/0.1814, allocations: 115.8 kB / 0.5895 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000157/0.1816, allocations: 23.92 kB / 0.5895 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1816, allocations: 0 / 0.5895 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.756e-05/0.1817, allocations: 24.08 kB / 0.5895 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.1819, allocations: 0.5625 kB / 0.5895 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003328/0.1822, allocations: 100.4 kB / 0.5896 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.1824, allocations: 0.677 MB / 0.5903 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.594e-05/0.1825, allocations: 3.938 kB / 0.5903 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.364e-05/0.1825, allocations: 7.438 kB / 0.5903 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of SimCode: time 4.2e-07/0.1825, allocations: 4.062 kB / 0.5903 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.002372/0.1849, allocations: 419.2 kB / 0.5907 GB, free: 13.41 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)