Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001076/0.001076, allocations: 105.7 kB / 16.41 MB, free: 6.504 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.001058/0.001058, allocations: 187 kB / 17.34 MB, free: 5.742 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.322/1.322, 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/package.mo): time 0.7952/0.7952, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 58.69 kB / 0.582 GB, free: 23.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1805, allocations: 80.21 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002809/0.1833, allocations: 1.239 MB / 0.6615 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.1844, allocations: 0.5943 MB / 0.6621 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.057e-05/0.1845, allocations: 4 kB / 0.6621 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.136e-05/0.1845, allocations: 0 / 0.6621 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.842e-05/0.1846, allocations: 3.938 kB / 0.6621 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005643/0.1852, allocations: 135.4 kB / 0.6623 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.68e-05/0.1852, allocations: 11.94 kB / 0.6623 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.611e-05/0.1853, allocations: 3.984 kB / 0.6623 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.22e-05/0.1853, allocations: 4 kB / 0.6623 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.517e-05/0.1854, allocations: 11.92 kB / 0.6623 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.1854, allocations: 4 kB / 0.6623 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005162/0.1859, allocations: 335.4 kB / 0.6626 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.068e-05/0.1859, allocations: 3.938 kB / 0.6626 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.48e-05/0.186, allocations: 7.984 kB / 0.6626 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.1862, allocations: 139.7 kB / 0.6628 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1862, allocations: 0 / 0.6628 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.114e-06/0.1862, allocations: 0 / 0.6628 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.1863, allocations: 0 / 0.6628 GB, free: 7.762 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.0004511/0.1867, allocations: 353.7 kB / 0.6631 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.1868, allocations: 12.03 kB / 0.6631 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.1868, allocations: 0.9375 kB / 0.6631 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.1869, allocations: 172.3 kB / 0.6633 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.187, allocations: 384 / 0.6633 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.187, allocations: 4.359 kB / 0.6633 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.969e-05/0.1871, allocations: 33.64 kB / 0.6633 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1871, allocations: 0 / 0.6633 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.1871, allocations: 7.938 kB / 0.6633 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1871, allocations: 0 / 0.6633 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.181e-05/0.1872, allocations: 11.98 kB / 0.6633 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.1873, allocations: 145.7 kB / 0.6635 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.351e-05/0.1874, allocations: 26.52 kB / 0.6635 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.473e-05/0.1874, allocations: 8.922 kB / 0.6635 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.1875, allocations: 7.922 kB / 0.6635 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.1875, allocations: 30.56 kB / 0.6635 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1875, allocations: 4 kB / 0.6635 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001568/0.1877, allocations: 41.61 kB / 0.6636 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.1877, allocations: 59.34 kB / 0.6636 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.333e-05/0.1878, allocations: 101.8 kB / 0.6637 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.1878, allocations: 25.7 kB / 0.6638 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.529e-05/0.1879, allocations: 80.14 kB / 0.6638 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.1879, allocations: 7.906 kB / 0.6638 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.589e-05/0.1879, allocations: 9.969 kB / 0.6638 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1881, allocations: 322.8 kB / 0.6642 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.305e-05/0.1881, allocations: 0 / 0.6642 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.024e-05/0.1881, allocations: 4 kB / 0.6642 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.265e-05/0.1882, allocations: 12.84 kB / 0.6642 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1882, allocations: 0 / 0.6642 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.152e-05/0.1882, allocations: 41.64 kB / 0.6642 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1882, allocations: 4 kB / 0.6642 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.1883, allocations: 4.031 kB / 0.6642 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1883, allocations: 8 kB / 0.6642 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.1884, allocations: 11.98 kB / 0.6642 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004381/0.1889, allocations: 0.5782 MB / 0.6648 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.1889, allocations: 0 / 0.6648 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.1889, allocations: 0 / 0.6648 GB, free: 5.418 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 0.0001245/0.1891, allocations: 118.8 kB / 0.6649 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-06/0.1891, allocations: 4.031 kB / 0.6649 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001333/0.1892, allocations: 48.75 kB / 0.665 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1892, allocations: 0 / 0.665 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1892, allocations: 0 / 0.665 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1892, allocations: 0 / 0.665 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.1894, allocations: 153.6 kB / 0.6651 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1894, allocations: 4 kB / 0.6651 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.123e-05/0.1894, allocations: 11.98 kB / 0.6651 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1895, allocations: 4.031 kB / 0.6651 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.1895, allocations: 0 / 0.6651 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003442/0.1898, allocations: 0.5859 MB / 0.6657 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1898, allocations: 0 / 0.6657 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.812e-05/0.1899, allocations: 81.03 kB / 0.6658 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.2e-05/0.19, allocations: 81.23 kB / 0.6659 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.19, allocations: 3.938 kB / 0.6659 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.414e-05/0.19, allocations: 0 / 0.6659 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.549e-05/0.19, allocations: 0 / 0.6659 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.1901, allocations: 7.938 kB / 0.6659 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.74e-05/0.1901, allocations: 75.28 kB / 0.6659 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1901, allocations: 0 / 0.6659 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001994/0.1903, allocations: 11.94 kB / 0.666 GB, free: 4.109 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.0001928/0.1905, allocations: 115.3 kB / 0.6661 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001718/0.1907, allocations: 23.92 kB / 0.6661 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1907, allocations: 0 / 0.6661 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.804e-05/0.1908, allocations: 11.98 kB / 0.6661 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.1909, allocations: 6.953 kB / 0.6661 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004385/0.1914, allocations: 135.8 kB / 0.6662 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.1917, allocations: 0.6729 MB / 0.6669 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.533e-05/0.1917, allocations: 7.438 kB / 0.6669 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1917, allocations: 0 / 0.6669 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of Templates: time 0.002479/0.1942, allocations: 0.7018 MB / 0.6676 GB, free: 2.375 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)