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.001093/0.001093, allocations: 117.1 kB / 16.37 MB, free: 6.012 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.001093/0.001093, allocations: 190.9 kB / 17.31 MB, free: 5.613 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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8601/0.8601, allocations: 132.2 MB / 423.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 71.89 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3767, allocations: 80.19 MB / 0.5815 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.00225/0.379, allocations: 1.243 MB / 0.5827 GB, free: 26.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009722/0.38, allocations: 0.5929 MB / 0.5833 GB, free: 26.17 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.327e-05/0.3801, allocations: 1.125 kB / 0.5833 GB, free: 26.17 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.58e-05/0.3801, allocations: 1.094 kB / 0.5833 GB, free: 26.17 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.826e-05/0.3801, allocations: 7.969 kB / 0.5833 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004753/0.3806, allocations: 136.9 kB / 0.5834 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.139e-05/0.3807, allocations: 16.89 kB / 0.5834 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.358e-05/0.3807, allocations: 2.438 kB / 0.5835 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.907e-05/0.3808, allocations: 2.719 kB / 0.5835 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.454e-05/0.3808, allocations: 7.281 kB / 0.5835 GB, free: 26.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.3808, allocations: 0 / 0.5835 GB, free: 26.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004478/0.3813, allocations: 346.8 kB / 0.5838 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.407e-06/0.3813, allocations: 3.938 kB / 0.5838 GB, free: 25.85 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.212e-05/0.3813, allocations: 2.5 kB / 0.5838 GB, free: 25.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.3816, allocations: 144.2 kB / 0.5839 GB, free: 25.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.3816, allocations: 5.266 kB / 0.5839 GB, free: 25.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3816, allocations: 1.906 kB / 0.5839 GB, free: 25.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.3816, allocations: 0 / 0.5839 GB, free: 25.77 MB / 446.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.0003031/0.3819, allocations: 354.2 kB / 0.5843 GB, free: 25.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.3819, allocations: 8.25 kB / 0.5843 GB, free: 25.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.834e-05/0.382, allocations: 1.438 kB / 0.5843 GB, free: 25.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.358e-05/0.3821, allocations: 163.6 kB / 0.5844 GB, free: 25.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.3821, allocations: 3.75 kB / 0.5844 GB, free: 25.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-06/0.3821, allocations: 384 / 0.5844 GB, free: 25.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.481e-05/0.3822, allocations: 40.61 kB / 0.5845 GB, free: 25.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3822, allocations: 0 / 0.5845 GB, free: 25.15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.343e-06/0.3822, allocations: 3.938 kB / 0.5845 GB, free: 25.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3822, allocations: 0 / 0.5845 GB, free: 25.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.357e-05/0.3822, allocations: 8.062 kB / 0.5845 GB, free: 25.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001068/0.3823, allocations: 149.2 kB / 0.5846 GB, free: 24.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.81e-05/0.3824, allocations: 27.23 kB / 0.5847 GB, free: 24.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.389e-05/0.3824, allocations: 4.859 kB / 0.5847 GB, free: 24.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.3824, allocations: 4.219 kB / 0.5847 GB, free: 24.92 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.492e-05/0.3825, allocations: 36.34 kB / 0.5847 GB, free: 24.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.3825, allocations: 0 / 0.5847 GB, free: 24.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001198/0.3826, allocations: 48.47 kB / 0.5848 GB, free: 24.83 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.3826, allocations: 53.97 kB / 0.5848 GB, free: 24.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.554e-05/0.3827, allocations: 101.6 kB / 0.5849 GB, free: 24.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.3827, allocations: 25.7 kB / 0.5849 GB, free: 24.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.289e-05/0.3827, allocations: 80.14 kB / 0.585 GB, free: 24.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.3827, allocations: 7.844 kB / 0.585 GB, free: 24.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.308e-05/0.3828, allocations: 13.72 kB / 0.585 GB, free: 24.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.595e-05/0.3828, allocations: 321 kB / 0.5853 GB, free: 24.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.099e-05/0.3828, allocations: 3.188 kB / 0.5853 GB, free: 24.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.554e-06/0.3828, allocations: 0 / 0.5853 GB, free: 24.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.661e-05/0.3829, allocations: 16.3 kB / 0.5854 GB, free: 24.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3829, allocations: 0 / 0.5854 GB, free: 24.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.246e-05/0.3829, allocations: 43.39 kB / 0.5854 GB, free: 24.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.383, allocations: 4.344 kB / 0.5854 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.383, allocations: 3.984 kB / 0.5854 GB, free: 24.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.383, allocations: 0 / 0.5854 GB, free: 24.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.3831, allocations: 9.062 kB / 0.5854 GB, free: 24.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002251/0.3834, allocations: 0.5879 MB / 0.586 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.785e-05/0.3834, allocations: 3.938 kB / 0.586 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.3834, allocations: 2 kB / 0.586 GB, free: 23.55 MB / 446.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 4.955e-05/0.3834, allocations: 120.4 kB / 0.5861 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.564e-06/0.3835, allocations: 3.656 kB / 0.5861 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.757e-05/0.3836, allocations: 45.09 kB / 0.5862 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.3836, allocations: 0 / 0.5862 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3836, allocations: 1.5 kB / 0.5862 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3836, allocations: 0 / 0.5862 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.208e-05/0.3837, allocations: 149.5 kB / 0.5863 GB, free: 23.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3837, allocations: 0 / 0.5863 GB, free: 23.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.907e-05/0.3837, allocations: 11.92 kB / 0.5863 GB, free: 23.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3837, allocations: 0.8438 kB / 0.5863 GB, free: 23.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.3838, allocations: 5.125 kB / 0.5863 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00017/0.3839, allocations: 0.5891 MB / 0.5869 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.3839, allocations: 0 / 0.5869 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.251e-05/0.384, allocations: 68.16 kB / 0.587 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.493e-05/0.384, allocations: 81.02 kB / 0.587 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.799e-06/0.384, allocations: 2.125 kB / 0.587 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.497e-05/0.3841, allocations: 5.031 kB / 0.587 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.414e-05/0.3841, allocations: 7.953 kB / 0.587 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-06/0.3841, allocations: 7.875 kB / 0.5871 GB, free: 22.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.63e-05/0.3841, allocations: 77.66 kB / 0.5871 GB, free: 22.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3841, allocations: 0 / 0.5871 GB, free: 22.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001943/0.3843, allocations: 10.66 kB / 0.5871 GB, free: 22.32 MB / 446.1 MB 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.0001363/0.3845, allocations: 108.8 kB / 0.5872 GB, free: 22.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001601/0.3846, allocations: 20.67 kB / 0.5873 GB, free: 22.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3846, allocations: 0 / 0.5873 GB, free: 22.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.799e-05/0.3847, allocations: 11.16 kB / 0.5873 GB, free: 22.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.3849, allocations: 7.953 kB / 0.5873 GB, free: 22.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002731/0.3851, allocations: 105.1 kB / 0.5874 GB, free: 22.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.069e-05/0.3852, allocations: 0.6765 MB / 0.588 GB, free: 21.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.407e-05/0.3853, allocations: 0.9062 kB / 0.588 GB, free: 21.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.313e-05/0.3853, allocations: 8.812 kB / 0.588 GB, free: 21.4 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3853, allocations: 0 / 0.588 GB, free: 21.4 MB / 446.1 MB Notification: Performance of Templates: time 0.002346/0.3876, allocations: 450.8 kB / 0.5885 GB, free: 21.22 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)