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.001647/0.001648, allocations: 108 kB / 15.61 MB, free: 152 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.001803/0.001803, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.376/1.376, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9468/0.9468, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 64.95 kB / 0.5054 GB, free: 5.305 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1774, allocations: 80.92 MB / 0.5844 GB, free: 4.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002719/0.1801, allocations: 1.244 MB / 0.5856 GB, free: 3.277 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.1812, allocations: 0.5854 MB / 0.5862 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.448e-05/0.1812, allocations: 4 kB / 0.5862 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.165e-05/0.1813, allocations: 0 / 0.5862 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.628e-05/0.1813, allocations: 7.922 kB / 0.5862 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006628/0.182, allocations: 138.7 kB / 0.5863 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.171e-05/0.1821, allocations: 11.92 kB / 0.5863 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.489e-05/0.1821, allocations: 4 kB / 0.5863 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.997e-05/0.1821, allocations: 0 / 0.5863 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.857e-05/0.1822, allocations: 7.984 kB / 0.5863 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.1822, allocations: 4 kB / 0.5863 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005277/0.1828, allocations: 339.3 kB / 0.5867 GB, free: 2.188 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.1828, allocations: 4 kB / 0.5867 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.505e-05/0.1828, allocations: 11.92 kB / 0.5867 GB, free: 2.172 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.1831, allocations: 136 kB / 0.5868 GB, free: 2.039 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.1831, allocations: 4 kB / 0.5868 GB, free: 2.035 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1831, allocations: 0 / 0.5868 GB, free: 2.035 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.495e-06/0.1831, allocations: 0 / 0.5868 GB, free: 2.035 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.0004147/0.1835, allocations: 351.4 kB / 0.5871 GB, free: 1.645 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1836, allocations: 8.031 kB / 0.5871 GB, free: 1.637 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.1836, allocations: 12.84 kB / 0.5872 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.1838, allocations: 160.4 kB / 0.5873 GB, free: 1.43 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.1838, allocations: 384 / 0.5873 GB, free: 1.43 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.1838, allocations: 4.312 kB / 0.5873 GB, free: 1.426 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.1839, allocations: 45.75 kB / 0.5874 GB, free: 1.375 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.184, allocations: 0 / 0.5874 GB, free: 1.375 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.184, allocations: 0 / 0.5874 GB, free: 1.375 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.184, allocations: 0 / 0.5874 GB, free: 1.375 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.614e-05/0.184, allocations: 4 kB / 0.5874 GB, free: 1.371 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.1842, allocations: 157.7 kB / 0.5875 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.224e-05/0.1843, allocations: 18.61 kB / 0.5875 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.476e-05/0.1843, allocations: 16.92 kB / 0.5876 GB, free: 1.121 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.1843, allocations: 3.938 kB / 0.5876 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.1843, allocations: 34.5 kB / 0.5876 GB, free: 1.074 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.1844, allocations: 0 / 0.5876 GB, free: 1.074 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001529/0.1845, allocations: 45.69 kB / 0.5876 GB, free: 1.023 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.1846, allocations: 55.41 kB / 0.5877 GB, free: 0.957 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.763e-05/0.1846, allocations: 93.86 kB / 0.5878 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.1847, allocations: 25.7 kB / 0.5878 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.1847, allocations: 80.14 kB / 0.5879 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.1847, allocations: 3.906 kB / 0.5879 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.1848, allocations: 17.72 kB / 0.5879 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1849, allocations: 319.1 kB / 0.5882 GB, free: 404 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.429e-05/0.1849, allocations: 0 / 0.5882 GB, free: 404 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.379e-05/0.1849, allocations: 7.938 kB / 0.5882 GB, free: 396 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.218e-05/0.185, allocations: 12.86 kB / 0.5882 GB, free: 380 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.185, allocations: 0 / 0.5882 GB, free: 380 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.727e-05/0.1851, allocations: 41.62 kB / 0.5883 GB, free: 332 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1851, allocations: 11.94 kB / 0.5883 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1851, allocations: 0 / 0.5883 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1851, allocations: 96 / 0.5883 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.1853, allocations: 12 kB / 0.5883 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004192/0.1857, allocations: 0.586 MB / 0.5889 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.233e-05/0.1858, allocations: 3.984 kB / 0.5889 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.1858, allocations: 0 / 0.5889 GB, free: 15.69 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 8.525e-05/0.1859, allocations: 113.8 kB / 0.589 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.1859, allocations: 8 kB / 0.589 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.186, allocations: 44.81 kB / 0.589 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.186, allocations: 3.984 kB / 0.589 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.186, allocations: 0 / 0.589 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.186, allocations: 0 / 0.589 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.1862, allocations: 157.6 kB / 0.5892 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1862, allocations: 0 / 0.5892 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.161e-05/0.1863, allocations: 15.98 kB / 0.5892 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.1863, allocations: 0 / 0.5892 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.413e-06/0.1863, allocations: 3.969 kB / 0.5892 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002962/0.1866, allocations: 0.586 MB / 0.5898 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1866, allocations: 4 kB / 0.5898 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.548e-05/0.1867, allocations: 65.06 kB / 0.5898 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.079e-05/0.1867, allocations: 77.11 kB / 0.5899 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.1867, allocations: 4.125 kB / 0.5899 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.545e-05/0.1867, allocations: 3.938 kB / 0.5899 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.483e-05/0.1868, allocations: 7.984 kB / 0.5899 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.1868, allocations: 0 / 0.5899 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.273e-05/0.1868, allocations: 75.28 kB / 0.59 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1868, allocations: 0 / 0.59 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000199/0.187, allocations: 16 kB / 0.59 GB, free: 14.39 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.0001789/0.1872, allocations: 115.3 kB / 0.5901 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000167/0.1874, allocations: 15.98 kB / 0.5901 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1874, allocations: 0 / 0.5901 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.553e-05/0.1875, allocations: 19.92 kB / 0.5901 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.1877, allocations: 7.938 kB / 0.5902 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003849/0.188, allocations: 110.1 kB / 0.5903 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.1883, allocations: 0.6729 MB / 0.5909 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.56e-05/0.1883, allocations: 4 kB / 0.5909 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.482e-05/0.1883, allocations: 7.438 kB / 0.5909 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1884, allocations: 0 / 0.5909 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of Templates: time 0.002615/0.191, allocations: 447.5 kB / 0.5914 GB, free: 12.96 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)