Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.Density.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.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.Density") translateModel(IDEAS.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 104.2 kB / 16.35 MB, free: 5.875 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.001114/0.001114, allocations: 191 kB / 17.29 MB, free: 5.516 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7897/0.7897, allocations: 132.2 MB / 423.3 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 67.89 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4028, allocations: 80.17 MB / 0.5815 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.6083/1.011, allocations: 185 MB / 0.7622 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01047/1.022, allocations: 6.971 MB / 0.769 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/1.023, allocations: 30.78 kB / 0.769 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001146/1.024, allocations: 394.2 kB / 0.7694 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003778/1.028, allocations: 1.448 MB / 0.7708 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003223/1.031, allocations: 1.166 MB / 0.7719 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002883/1.034, allocations: 1.937 MB / 0.7738 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/1.035, allocations: 0.6581 MB / 0.7745 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00183/1.037, allocations: 0.8295 MB / 0.7753 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001329/1.038, allocations: 0.6026 MB / 0.7759 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001417/1.038, allocations: 67.38 kB / 0.7759 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00408/1.043, allocations: 1.927 MB / 0.7778 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003633/1.043, allocations: 294.1 kB / 0.7781 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005813/1.044, allocations: 426.9 kB / 0.7785 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003208/1.047, allocations: 1.767 MB / 0.7802 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/1.047, allocations: 2.812 kB / 0.7802 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.283e-06/1.047, allocations: 0 / 0.7802 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.15e-05/1.047, allocations: 0.9375 kB / 0.7802 GB, free: 1.387 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001754/1.049, allocations: 1.161 MB / 0.7814 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/1.049, allocations: 10.69 kB / 0.7814 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001808/1.05, allocations: 273.9 kB / 0.7816 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/1.051, allocations: 0.6196 MB / 0.7823 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/1.051, allocations: 37.03 kB / 0.7823 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.345e-05/1.052, allocations: 62 kB / 0.7823 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009472/1.053, allocations: 0.6358 MB / 0.783 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/1.053, allocations: 0 / 0.783 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.154e-05/1.053, allocations: 23.69 kB / 0.783 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/1.053, allocations: 20.09 kB / 0.783 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008264/1.054, allocations: 0.524 MB / 0.7835 GB, free: 16.29 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002891/1.056, allocations: 2.445 MB / 0.7859 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005445/1.057, allocations: 373.9 kB / 0.7863 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/1.057, allocations: 238 kB / 0.7865 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005726/1.058, allocations: 308.6 kB / 0.7868 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/1.058, allocations: 37.77 kB / 0.7868 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=39): time 2.465e-06/1.058, allocations: 0.75 kB / 0.7868 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39): time 0.001226/1.059, allocations: 0.6148 MB / 0.7874 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/1.059, allocations: 56.12 kB / 0.7875 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004824/1.06, allocations: 0.4965 MB / 0.788 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.172e-05/1.06, allocations: 35.89 kB / 0.788 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/1.06, allocations: 328.1 kB / 0.7883 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/1.06, allocations: 137.5 kB / 0.7884 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/1.06, allocations: 88.12 kB / 0.7885 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001425/1.06, allocations: 370.5 kB / 0.7889 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/1.061, allocations: 176.7 kB / 0.789 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003428/1.061, allocations: 285.3 kB / 0.7893 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006117/1.062, allocations: 456.5 kB / 0.7898 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.062, allocations: 0 / 0.7898 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008577/1.062, allocations: 0.524 MB / 0.7903 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/1.062, allocations: 7.688 kB / 0.7903 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/1.063, allocations: 4.703 kB / 0.7903 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/1.063, allocations: 4.562 kB / 0.7903 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006973/1.063, allocations: 130.6 kB / 0.7904 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003954/1.064, allocations: 0.6007 MB / 0.791 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005286/1.064, allocations: 53.92 kB / 0.791 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/1.064, allocations: 18.28 kB / 0.7911 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005398/1.065, allocations: 352.4 kB / 0.7914 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003769/1.065, allocations: 285.5 kB / 0.7917 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000691/1.066, allocations: 447.2 kB / 0.7921 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.577e-06/1.066, allocations: 3.312 kB / 0.7921 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009028/1.067, allocations: 0.5176 MB / 0.7926 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/1.067, allocations: 8.812 kB / 0.7926 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/1.067, allocations: 7.125 kB / 0.7926 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.677e-06/1.067, allocations: 11.25 kB / 0.7926 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004532/1.067, allocations: 120.7 kB / 0.7927 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/1.067, allocations: 9.266 kB / 0.7928 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004888/1.068, allocations: 46.17 kB / 0.7928 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/1.068, allocations: 16.41 kB / 0.7928 GB, free: 12.48 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (53): * Single equations (assignments): 52 * 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.0001991/1.068, allocations: 206.8 kB / 0.793 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/1.068, allocations: 59.97 kB / 0.7931 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008603/1.069, allocations: 478.3 kB / 0.7935 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/1.069, allocations: 7.281 kB / 0.7935 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/1.069, allocations: 4.781 kB / 0.7935 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007963/1.07, allocations: 0.7045 MB / 0.7942 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001916/1.072, allocations: 1.283 MB / 0.7955 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.072, allocations: 4.625 kB / 0.7955 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005848/1.072, allocations: 128.3 kB / 0.7956 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/1.072, allocations: 3.562 kB / 0.7956 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.398e-05/1.072, allocations: 14.31 kB / 0.7956 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003258/1.073, allocations: 0.5894 MB / 0.7962 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.331e-06/1.073, allocations: 10.77 kB / 0.7962 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/1.074, allocations: 0.8181 MB / 0.797 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002832/1.074, allocations: 182.9 kB / 0.7972 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.978e-05/1.074, allocations: 15.84 kB / 0.7972 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004022/1.075, allocations: 20.7 kB / 0.7972 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.191e-05/1.075, allocations: 30.33 kB / 0.7972 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/1.075, allocations: 11.66 kB / 0.7973 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000417/1.075, allocations: 357.3 kB / 0.7976 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.133e-06/1.075, allocations: 0.8125 kB / 0.7976 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009607/1.076, allocations: 360 kB / 0.7979 GB, free: 10.32 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senDenFlo.d) * 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 (39): * Single equations (assignments): 38 * 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.0005384/1.077, allocations: 206 kB / 0.7981 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001455/1.078, allocations: 0.6722 MB / 0.7988 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.078, allocations: 0.875 kB / 0.7988 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00041/1.079, allocations: 227.1 kB / 0.799 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/1.08, allocations: 363.3 kB / 0.7994 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002389/1.083, allocations: 1.372 MB / 0.8007 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006334/1.083, allocations: 0.9465 MB / 0.8016 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000656/1.084, allocations: 208 kB / 0.8018 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/1.084, allocations: 51 kB / 0.8019 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of SimCode: time 8.92e-07/1.084, allocations: 0 / 0.8019 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of Templates: time 0.02411/1.108, allocations: 12.42 MB / 0.814 GB, free: 5.59 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.Density.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.Density.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe 2>&1)