Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density") translateModel(IDEAS.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.006162/0.006162, allocations: 98.48 kB / 15.73 MB, free: 6.047 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.001304/0.001304, allocations: 193.6 kB / 16.67 MB, free: 5.969 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9578/0.9578, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.91 kB / 0.5856 GB, free: 3.367 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.448/0.4492, allocations: 80.91 MB / 0.6647 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.197/0.6462, allocations: 185 MB / 0.8454 GB, free: 8.125 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.009732/0.656, allocations: 6.974 MB / 0.8522 GB, free: 1.133 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000982/0.657, allocations: 31.81 kB / 0.8522 GB, free: 1.102 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.6581, allocations: 405.4 kB / 0.8526 GB, free: 0.7031 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003807/0.662, allocations: 1.431 MB / 0.854 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002816/0.6648, allocations: 1.163 MB / 0.8551 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00235/0.6672, allocations: 1.952 MB / 0.857 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008293/0.668, allocations: 0.6511 MB / 0.8577 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001273/0.6693, allocations: 0.8328 MB / 0.8585 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.6704, allocations: 0.6043 MB / 0.8591 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.6705, allocations: 68 kB / 0.8591 GB, free: 9.98 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003454/0.674, allocations: 1.933 MB / 0.861 GB, free: 8.043 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003098/0.6743, allocations: 283.2 kB / 0.8613 GB, free: 7.766 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004728/0.6748, allocations: 430.1 kB / 0.8617 GB, free: 7.344 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002728/0.6775, allocations: 1.783 MB / 0.8634 GB, free: 5.555 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.6775, allocations: 0 / 0.8634 GB, free: 5.555 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.685e-06/0.6775, allocations: 0 / 0.8634 GB, free: 5.555 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.6775, allocations: 3.938 kB / 0.8634 GB, free: 5.551 MB / 0.6856 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.001705/0.6792, allocations: 1.194 MB / 0.8646 GB, free: 4.305 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.6793, allocations: 8.031 kB / 0.8646 GB, free: 4.297 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001814/0.6811, allocations: 275.2 kB / 0.8649 GB, free: 4.027 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009574/0.6821, allocations: 0.611 MB / 0.8655 GB, free: 3.375 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.123e-05/0.6821, allocations: 37.31 kB / 0.8655 GB, free: 3.34 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.882e-05/0.6822, allocations: 59.94 kB / 0.8656 GB, free: 3.281 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.6833, allocations: 0.6362 MB / 0.8662 GB, free: 2.629 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.6833, allocations: 0 / 0.8662 GB, free: 2.629 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.546e-05/0.6834, allocations: 24 kB / 0.8662 GB, free: 2.605 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.617e-05/0.6834, allocations: 25.25 kB / 0.8662 GB, free: 2.582 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000916/0.6843, allocations: 0.5203 MB / 0.8667 GB, free: 2.062 MB / 0.6856 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.4004/1.085, allocations: 2.445 MB / 0.8691 GB, free: 194 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008058/1.086, allocations: 375 kB / 0.8695 GB, free: 194 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004473/1.086, allocations: 237.7 kB / 0.8697 GB, free: 193.9 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005691/1.087, allocations: 312 kB / 0.87 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/1.087, allocations: 37.14 kB / 0.87 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=39): time 2.124e-06/1.087, allocations: 0 / 0.87 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=39): time 0.001725/1.088, allocations: 0.6241 MB / 0.8707 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/1.088, allocations: 55.69 kB / 0.8707 GB, free: 193.3 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008756/1.089, allocations: 0.4935 MB / 0.8712 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.155e-05/1.089, allocations: 33.45 kB / 0.8712 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002545/1.09, allocations: 332.1 kB / 0.8715 GB, free: 192.9 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/1.09, allocations: 142.4 kB / 0.8717 GB, free: 192.8 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/1.09, allocations: 95.95 kB / 0.8718 GB, free: 192.7 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000141/1.09, allocations: 366.5 kB / 0.8721 GB, free: 192.4 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003862/1.09, allocations: 177.6 kB / 0.8723 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000487/1.091, allocations: 284.6 kB / 0.8726 GB, free: 192.2 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009108/1.092, allocations: 444.6 kB / 0.873 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/1.092, allocations: 5 kB / 0.873 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001155/1.093, allocations: 0.5264 MB / 0.8735 GB, free: 191.7 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/1.093, allocations: 17.75 kB / 0.8735 GB, free: 191.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/1.093, allocations: 2.062 kB / 0.8735 GB, free: 191.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-05/1.093, allocations: 8.891 kB / 0.8735 GB, free: 191.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007678/1.094, allocations: 127.2 kB / 0.8736 GB, free: 191.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003481/1.094, allocations: 0.5932 MB / 0.8742 GB, free: 191.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006248/1.095, allocations: 51.84 kB / 0.8743 GB, free: 191.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.146e-05/1.095, allocations: 19.36 kB / 0.8743 GB, free: 191.1 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008679/1.096, allocations: 355.2 kB / 0.8746 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006183/1.097, allocations: 288.8 kB / 0.8749 GB, free: 190.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009713/1.098, allocations: 453.8 kB / 0.8753 GB, free: 190.5 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.635e-06/1.098, allocations: 0.75 kB / 0.8753 GB, free: 190.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001246/1.099, allocations: 0.513 MB / 0.8758 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/1.099, allocations: 10.03 kB / 0.8759 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/1.099, allocations: 5.719 kB / 0.8759 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/1.099, allocations: 6.344 kB / 0.8759 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006077/1.099, allocations: 118.9 kB / 0.876 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/1.099, allocations: 4.734 kB / 0.876 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005574/1.1, allocations: 42.83 kB / 0.876 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.73e-05/1.1, allocations: 20.41 kB / 0.876 GB, free: 190.3 MB / 0.6856 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.0001598/1.1, allocations: 216.2 kB / 0.8762 GB, free: 190.1 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/1.1, allocations: 68.3 kB / 0.8763 GB, free: 190 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/1.101, allocations: 476 kB / 0.8768 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/1.101, allocations: 3.875 kB / 0.8768 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/1.101, allocations: 1.5 kB / 0.8768 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008065/1.102, allocations: 0.7107 MB / 0.8775 GB, free: 189.3 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001934/1.104, allocations: 1.285 MB / 0.8787 GB, free: 188.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/1.104, allocations: 6.188 kB / 0.8787 GB, free: 188.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006181/1.105, allocations: 125.2 kB / 0.8788 GB, free: 188.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/1.105, allocations: 3.5 kB / 0.8788 GB, free: 188.6 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.011e-05/1.105, allocations: 12.81 kB / 0.8789 GB, free: 188.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002096/1.105, allocations: 0.5959 MB / 0.8794 GB, free: 188 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/1.105, allocations: 1.688 kB / 0.8794 GB, free: 188 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/1.107, allocations: 0.8327 MB / 0.8803 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002285/1.107, allocations: 180.2 kB / 0.8804 GB, free: 187.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.3e-05/1.107, allocations: 16.5 kB / 0.8804 GB, free: 187.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000407/1.107, allocations: 20.67 kB / 0.8805 GB, free: 187.4 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/1.107, allocations: 30.62 kB / 0.8805 GB, free: 187.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.164e-05/1.108, allocations: 19.16 kB / 0.8805 GB, free: 187.3 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004826/1.108, allocations: 351 kB / 0.8808 GB, free: 187.2 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/1.108, allocations: 2.656 kB / 0.8808 GB, free: 187.2 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001246/1.109, allocations: 366.4 kB / 0.8812 GB, free: 187.1 MB / 0.6856 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.0004687/1.11, allocations: 205 kB / 0.8814 GB, free: 187 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001375/1.111, allocations: 0.6728 MB / 0.8821 GB, free: 186.8 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/1.111, allocations: 4.906 kB / 0.8821 GB, free: 186.8 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000405/1.112, allocations: 220.2 kB / 0.8823 GB, free: 186.7 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/1.113, allocations: 360.9 kB / 0.8826 GB, free: 186.6 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/1.115, allocations: 1.396 MB / 0.884 GB, free: 185.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/1.116, allocations: 0.945 MB / 0.8849 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006139/1.116, allocations: 197.1 kB / 0.8851 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/1.116, allocations: 48.59 kB / 0.8851 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of SimCode: time 1.012e-06/1.116, allocations: 0 / 0.8851 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of Templates: time 0.02263/1.139, allocations: 12.54 MB / 0.8974 GB, free: 178.6 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe 2>&1)