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.001631/0.001631, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001528/0.001528, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.401/1.401, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8566/0.8566, allocations: 135.2 MB / 426.2 MB, free: 4.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 67.89 kB / 0.506 GB, free: 8.367 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3498, allocations: 80.92 MB / 0.5851 GB, free: 25.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.5493/0.8991, allocations: 198 MB / 0.7784 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0137/0.9129, allocations: 10.9 MB / 0.789 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002324/0.9153, allocations: 47.78 kB / 0.7891 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002056/0.9174, allocations: 0.5232 MB / 0.7896 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005312/0.9227, allocations: 1.79 MB / 0.7913 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003381/0.9261, allocations: 1.16 MB / 0.7925 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004224/0.9303, allocations: 2.774 MB / 0.7952 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002013/0.9324, allocations: 1.205 MB / 0.7963 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004631/0.937, allocations: 1.608 MB / 0.7979 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001796/0.9388, allocations: 0.9574 MB / 0.7989 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002393/0.9391, allocations: 123.3 kB / 0.799 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00342/0.9425, allocations: 1.719 MB / 0.8006 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005399/0.9431, allocations: 0.5179 MB / 0.8012 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009132/0.944, allocations: 0.7226 MB / 0.8019 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003764/0.9478, allocations: 2.325 MB / 0.8041 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.9478, allocations: 0.8438 kB / 0.8041 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.754e-06/0.9478, allocations: 0 / 0.8041 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.894e-05/0.9479, allocations: 3.969 kB / 0.8041 GB, free: 0.6602 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.002863/0.9507, allocations: 1.69 MB / 0.8058 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.9508, allocations: 11.11 kB / 0.8058 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001801/0.9526, allocations: 327.4 kB / 0.8061 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001442/0.954, allocations: 0.8623 MB / 0.8069 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.951e-05/0.9541, allocations: 79.72 kB / 0.807 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.9542, allocations: 108.2 kB / 0.8071 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/0.956, allocations: 1.177 MB / 0.8083 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.956, allocations: 0.8125 kB / 0.8083 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-05/0.9561, allocations: 41.59 kB / 0.8083 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.041e-05/0.9562, allocations: 45.3 kB / 0.8084 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.9576, allocations: 0.942 MB / 0.8093 GB, free: 15.19 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.005599/0.9632, allocations: 4.742 MB / 0.8139 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009981/0.9643, allocations: 0.7206 MB / 0.8146 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004841/0.9648, allocations: 397.8 kB / 0.815 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006221/0.9654, allocations: 318.3 kB / 0.8153 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.9654, allocations: 41.78 kB / 0.8153 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=68): time 3.106e-06/0.9655, allocations: 0.9375 kB / 0.8153 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=68): time 0.001919/0.9674, allocations: 1.005 MB / 0.8163 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.9674, allocations: 64.06 kB / 0.8164 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.9685, allocations: 0.7888 MB / 0.8172 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.784e-05/0.9685, allocations: 41.98 kB / 0.8172 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003987/0.969, allocations: 0.5365 MB / 0.8177 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/0.9692, allocations: 241.1 kB / 0.8179 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/0.9694, allocations: 151.4 kB / 0.8181 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.9696, allocations: 335.3 kB / 0.8184 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004214/0.97, allocations: 296 kB / 0.8187 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006181/0.9706, allocations: 0.5057 MB / 0.8192 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.9717, allocations: 0.7919 MB / 0.82 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.9717, allocations: 0 / 0.82 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001338/0.973, allocations: 0.9082 MB / 0.8208 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.9731, allocations: 8.031 kB / 0.8209 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.9731, allocations: 6.406 kB / 0.8209 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.9731, allocations: 6.844 kB / 0.8209 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007991/0.9739, allocations: 184.9 kB / 0.821 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004524/0.9744, allocations: 0.596 MB / 0.8216 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000761/0.9751, allocations: 81.41 kB / 0.8217 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.83e-05/0.9752, allocations: 43.33 kB / 0.8217 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007916/0.976, allocations: 0.5425 MB / 0.8223 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006443/0.9767, allocations: 0.4997 MB / 0.8228 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001148/0.9778, allocations: 0.7834 MB / 0.8235 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.526e-06/0.9778, allocations: 3.594 kB / 0.8235 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001382/0.9792, allocations: 0.9115 MB / 0.8244 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.9792, allocations: 5.812 kB / 0.8244 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.9792, allocations: 7.75 kB / 0.8244 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.928e-06/0.9793, allocations: 9.594 kB / 0.8244 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005791/0.9798, allocations: 170.2 kB / 0.8246 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.9799, allocations: 6.812 kB / 0.8246 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007273/0.9806, allocations: 67.89 kB / 0.8247 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.376e-05/0.9807, allocations: 39.75 kB / 0.8247 GB, free: 8.793 MB / 0.5919 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.0002812/0.9809, allocations: 229.4 kB / 0.8249 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.9811, allocations: 109.1 kB / 0.825 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/0.9825, allocations: 0.7859 MB / 0.8258 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.9825, allocations: 9.5 kB / 0.8258 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.9825, allocations: 0 / 0.8258 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001098/0.9836, allocations: 0.8798 MB / 0.8267 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003579/0.9872, allocations: 2.134 MB / 0.8288 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.9872, allocations: 2.594 kB / 0.8288 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006846/0.9879, allocations: 158.9 kB / 0.8289 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.868e-06/0.9879, allocations: 9.469 kB / 0.8289 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.752e-05/0.988, allocations: 20.25 kB / 0.8289 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003995/0.9884, allocations: 0.5916 MB / 0.8295 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/0.9884, allocations: 6.5 kB / 0.8295 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/0.9902, allocations: 1.324 MB / 0.8308 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004202/0.9907, allocations: 253.4 kB / 0.8311 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.9908, allocations: 19.38 kB / 0.8311 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004795/0.9913, allocations: 23.77 kB / 0.8311 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.829e-05/0.9914, allocations: 47.08 kB / 0.8311 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-05/0.9914, allocations: 29.33 kB / 0.8312 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007151/0.9921, allocations: 0.5421 MB / 0.8317 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9921, allocations: 4 kB / 0.8317 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001431/0.9936, allocations: 0.5567 MB / 0.8322 GB, free: 4.238 MB / 0.5919 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.0005873/0.9942, allocations: 234.6 kB / 0.8325 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002533/0.9967, allocations: 1.292 MB / 0.8337 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.9967, allocations: 0 / 0.8337 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006034/0.9973, allocations: 370.9 kB / 0.8341 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002246/0.9996, allocations: 481.3 kB / 0.8345 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004013/1.004, allocations: 2.359 MB / 0.8369 GB, free: 28 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008727/1.005, allocations: 1.175 MB / 0.838 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002964/1.005, allocations: 90.52 kB / 0.8381 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of SimCode: time 4.4e-07/1.005, allocations: 0 / 0.8381 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of Templates: time 0.03371/1.039, allocations: 21.18 MB / 0.8588 GB, free: 9.723 MB / 0.6231 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)