Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.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.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") translateModel(IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001245/0.001245, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.334/1.334, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9441/0.9441, allocations: 135.1 MB / 425.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.98 kB / 0.5047 GB, free: 5.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1584, allocations: 80.92 MB / 0.5837 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.5736/0.7321, allocations: 195.7 MB / 0.7748 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01549/0.7476, allocations: 10.97 MB / 0.7856 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001657/0.7493, allocations: 43.75 kB / 0.7856 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00153/0.7509, allocations: 441.5 kB / 0.786 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004363/0.7552, allocations: 1.674 MB / 0.7877 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002794/0.7581, allocations: 1.05 MB / 0.7887 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004056/0.7621, allocations: 3.745 MB / 0.7923 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00152/0.7637, allocations: 1.034 MB / 0.7933 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004451/0.7681, allocations: 1.46 MB / 0.7948 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002011/0.7702, allocations: 0.9846 MB / 0.7957 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000251/0.7704, allocations: 72 kB / 0.7958 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003677/0.7741, allocations: 1.913 MB / 0.7977 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005454/0.7747, allocations: 478.6 kB / 0.7981 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008783/0.7755, allocations: 0.6567 MB / 0.7988 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004091/0.7796, allocations: 2.376 MB / 0.8011 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 9.758e-06/0.7797, allocations: 0 / 0.8011 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7797, allocations: 7.938 kB / 0.8011 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.957e-05/0.7798, allocations: 0 / 0.8011 GB, free: 14.72 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.003567/0.7833, allocations: 1.692 MB / 0.8027 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.7834, allocations: 11.97 kB / 0.8028 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001893/0.7853, allocations: 318.1 kB / 0.8031 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.7868, allocations: 0.8664 MB / 0.8039 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.066e-05/0.7869, allocations: 78 kB / 0.804 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.787, allocations: 104 kB / 0.8041 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/0.7888, allocations: 1.179 MB / 0.8052 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/0.7889, allocations: 11.84 kB / 0.8052 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.963e-05/0.789, allocations: 40 kB / 0.8053 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.163e-05/0.789, allocations: 34 kB / 0.8053 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.7906, allocations: 0.9407 MB / 0.8062 GB, free: 9.324 MB / 0.6231 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.005388/0.796, allocations: 4.694 MB / 0.8108 GB, free: 4.242 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.7971, allocations: 0.7262 MB / 0.8115 GB, free: 3.508 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005533/0.7977, allocations: 387 kB / 0.8119 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006196/0.7983, allocations: 319.9 kB / 0.8122 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.7984, allocations: 47.12 kB / 0.8122 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=68): time 1.983e-06/0.7984, allocations: 0 / 0.8122 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of matching and sorting (n=68): time 0.001935/0.8003, allocations: 0.9975 MB / 0.8132 GB, free: 1.707 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.8004, allocations: 63.91 kB / 0.8133 GB, free: 1.633 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009305/0.8013, allocations: 0.7948 MB / 0.8141 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.748e-05/0.8014, allocations: 41.7 kB / 0.8141 GB, free: 0.7656 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004019/0.8018, allocations: 0.546 MB / 0.8146 GB, free: 216 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002057/0.802, allocations: 236.7 kB / 0.8149 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/0.8022, allocations: 146.6 kB / 0.815 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.8024, allocations: 337.9 kB / 0.8153 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004802/0.8028, allocations: 296.7 kB / 0.8156 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006342/0.8035, allocations: 0.5054 MB / 0.8161 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.8046, allocations: 0.7835 MB / 0.8169 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.8046, allocations: 0 / 0.8169 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001488/0.8061, allocations: 0.9062 MB / 0.8177 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.8062, allocations: 16.08 kB / 0.8178 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.8062, allocations: 4 kB / 0.8178 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/0.8062, allocations: 8 kB / 0.8178 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009331/0.8072, allocations: 183.7 kB / 0.8179 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004276/0.8076, allocations: 0.5977 MB / 0.8185 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009006/0.8085, allocations: 127.2 kB / 0.8187 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.988e-05/0.8086, allocations: 35.98 kB / 0.8187 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008655/0.8095, allocations: 0.541 MB / 0.8192 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006536/0.8101, allocations: 0.5032 MB / 0.8197 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001136/0.8113, allocations: 0.7874 MB / 0.8205 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.829e-06/0.8113, allocations: 4 kB / 0.8205 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001456/0.8128, allocations: 0.9018 MB / 0.8214 GB, free: 8.969 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.8128, allocations: 8 kB / 0.8214 GB, free: 8.961 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.8128, allocations: 12.5 kB / 0.8214 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.8128, allocations: 12 kB / 0.8214 GB, free: 8.938 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006494/0.8135, allocations: 163.8 kB / 0.8215 GB, free: 8.777 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.8135, allocations: 23.31 kB / 0.8216 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00089/0.8144, allocations: 115.4 kB / 0.8217 GB, free: 8.645 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.003e-05/0.8145, allocations: 32 kB / 0.8217 GB, free: 8.613 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.00024/0.8147, allocations: 232 kB / 0.8219 GB, free: 8.379 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.8149, allocations: 106.7 kB / 0.822 GB, free: 8.273 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/0.8163, allocations: 0.7782 MB / 0.8228 GB, free: 7.488 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.8163, allocations: 4 kB / 0.8228 GB, free: 7.484 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.8163, allocations: 4 kB / 0.8228 GB, free: 7.48 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001062/0.8174, allocations: 0.8788 MB / 0.8237 GB, free: 6.535 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003419/0.8208, allocations: 2.139 MB / 0.8257 GB, free: 4.289 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.8209, allocations: 4 kB / 0.8258 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007558/0.8216, allocations: 151.8 kB / 0.8259 GB, free: 4.137 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.159e-05/0.8216, allocations: 8 kB / 0.8259 GB, free: 4.129 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.712e-05/0.8217, allocations: 16 kB / 0.8259 GB, free: 4.113 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003178/0.822, allocations: 0.6056 MB / 0.8265 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.8221, allocations: 4 kB / 0.8265 GB, free: 3.48 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/0.824, allocations: 1.311 MB / 0.8278 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004394/0.8245, allocations: 255.6 kB / 0.828 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.8246, allocations: 16 kB / 0.8281 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000644/0.8253, allocations: 79.78 kB / 0.8281 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.158e-05/0.8253, allocations: 36.52 kB / 0.8282 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.818e-05/0.8254, allocations: 27.98 kB / 0.8282 GB, free: 1.699 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000699/0.8261, allocations: 0.546 MB / 0.8287 GB, free: 1.141 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8261, allocations: 0 / 0.8287 GB, free: 1.141 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001407/0.8275, allocations: 0.5647 MB / 0.8293 GB, free: 0.5742 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (limPID.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],senTraSubPeo.C,senTraSubFre.C) * 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 (68): * Single equations (assignments): 67 * 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.0005828/0.8281, allocations: 246.7 kB / 0.8295 GB, free: 356 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002136/0.8303, allocations: 1.159 MB / 0.8306 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.8303, allocations: 0 / 0.8306 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005754/0.8309, allocations: 363.7 kB / 0.831 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002205/0.8331, allocations: 485.1 kB / 0.8315 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003782/0.8369, allocations: 2.719 MB / 0.8341 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007162/0.8376, allocations: 1.181 MB / 0.8353 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001173/0.8388, allocations: 358 kB / 0.8356 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002356/0.839, allocations: 83.42 kB / 0.8357 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of SimCode: time 4.81e-07/0.839, allocations: 0 / 0.8357 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of Templates: time 0.02967/0.8687, allocations: 16.94 MB / 0.8522 GB, free: 9.305 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)