Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.004938/0.004938, allocations: 101.7 kB / 15.73 MB, free: 6.039 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.001233/0.001233, allocations: 200.2 kB / 16.67 MB, free: 5.977 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7532/0.7532, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 67.89 kB / 0.5814 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1812, allocations: 80.22 MB / 0.6597 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.6291/0.8103, allocations: 198 MB / 0.853 GB, free: 3.352 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01503/0.8254, allocations: 10.89 MB / 0.8637 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002194/0.8276, allocations: 46.16 kB / 0.8637 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001699/0.8293, allocations: 0.5374 MB / 0.8642 GB, free: 3.152 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005202/0.8346, allocations: 1.867 MB / 0.8661 GB, free: 3.078 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002926/0.8375, allocations: 1.164 MB / 0.8672 GB, free: 3.055 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00315/0.8407, allocations: 2.787 MB / 0.8699 GB, free: 3.043 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001468/0.8422, allocations: 1.202 MB / 0.8711 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003767/0.8459, allocations: 1.678 MB / 0.8727 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.8472, allocations: 0.9576 MB / 0.8737 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000161/0.8474, allocations: 124.6 kB / 0.8738 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002893/0.8503, allocations: 1.726 MB / 0.8755 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004275/0.8507, allocations: 0.5188 MB / 0.876 GB, free: 2.637 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007849/0.8515, allocations: 0.7149 MB / 0.8767 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002913/0.8545, allocations: 2.374 MB / 0.879 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.8545, allocations: 0 / 0.879 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8545, allocations: 4.219 kB / 0.879 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.648e-05/0.8545, allocations: 0 / 0.879 GB, free: 2.125 MB / 0.6387 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.002203/0.8567, allocations: 1.688 MB / 0.8806 GB, free: 1.238 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.8568, allocations: 17.58 kB / 0.8807 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/0.8584, allocations: 318.3 kB / 0.881 GB, free: 1.16 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.8597, allocations: 0.9119 MB / 0.8819 GB, free: 0.8164 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.07e-05/0.8598, allocations: 86.86 kB / 0.8819 GB, free: 0.8125 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.8599, allocations: 103.6 kB / 0.882 GB, free: 0.8125 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.8615, allocations: 1.176 MB / 0.8832 GB, free: 0.6719 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.8616, allocations: 2.906 kB / 0.8832 GB, free: 0.6719 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.805e-05/0.8617, allocations: 40.12 kB / 0.8832 GB, free: 0.6719 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.74e-05/0.8617, allocations: 39.61 kB / 0.8833 GB, free: 0.668 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.8632, allocations: 0.9413 MB / 0.8842 GB, free: 500 kB / 0.6387 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.005024/0.8682, allocations: 4.704 MB / 0.8888 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.8692, allocations: 0.7076 MB / 0.8895 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005112/0.8698, allocations: 398.1 kB / 0.8898 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005958/0.8704, allocations: 318.7 kB / 0.8901 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.705e-05/0.8704, allocations: 40.16 kB / 0.8902 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=68): time 2.374e-06/0.8704, allocations: 0 / 0.8902 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=68): time 0.001932/0.8724, allocations: 1.005 MB / 0.8912 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/0.8725, allocations: 58.03 kB / 0.8912 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009677/0.8734, allocations: 0.7995 MB / 0.892 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.994e-05/0.8735, allocations: 40.33 kB / 0.892 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004108/0.8739, allocations: 0.5361 MB / 0.8926 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000234/0.8742, allocations: 242.2 kB / 0.8928 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002317/0.8744, allocations: 152.1 kB / 0.8929 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.8745, allocations: 337.2 kB / 0.8933 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004698/0.875, allocations: 299.3 kB / 0.8935 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006388/0.8757, allocations: 0.5004 MB / 0.894 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.8767, allocations: 0.7959 MB / 0.8948 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.8767, allocations: 2.406 kB / 0.8948 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001352/0.8781, allocations: 0.9072 MB / 0.8957 GB, free: 9.312 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.8781, allocations: 8.688 kB / 0.8957 GB, free: 9.312 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.8781, allocations: 3.188 kB / 0.8957 GB, free: 9.312 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/0.8782, allocations: 11.19 kB / 0.8957 GB, free: 9.312 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009529/0.8791, allocations: 179.1 kB / 0.8959 GB, free: 9.309 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004213/0.8796, allocations: 0.6074 MB / 0.8965 GB, free: 8.711 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007158/0.8803, allocations: 83.09 kB / 0.8966 GB, free: 8.656 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.216e-05/0.8804, allocations: 36 kB / 0.8966 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008233/0.8812, allocations: 0.5419 MB / 0.8971 GB, free: 8.395 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006232/0.8818, allocations: 0.4933 MB / 0.8976 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001082/0.8829, allocations: 0.7915 MB / 0.8984 GB, free: 7.609 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.447e-06/0.8829, allocations: 3.406 kB / 0.8984 GB, free: 7.609 MB / 0.6544 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001342/0.8843, allocations: 0.9072 MB / 0.8993 GB, free: 7.262 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.8843, allocations: 5.031 kB / 0.8993 GB, free: 7.262 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.8843, allocations: 9.156 kB / 0.8993 GB, free: 7.258 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.527e-06/0.8843, allocations: 14.08 kB / 0.8993 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006111/0.885, allocations: 171.2 kB / 0.8995 GB, free: 7.242 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.885, allocations: 14.7 kB / 0.8995 GB, free: 7.242 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007001/0.8857, allocations: 64.78 kB / 0.8995 GB, free: 7.203 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.697e-05/0.8858, allocations: 30.22 kB / 0.8996 GB, free: 7.199 MB / 0.6544 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.0002458/0.886, allocations: 235.4 kB / 0.8998 GB, free: 6.988 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.8862, allocations: 99.25 kB / 0.8999 GB, free: 6.938 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001386/0.8876, allocations: 0.7941 MB / 0.9007 GB, free: 6.602 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.8876, allocations: 8.406 kB / 0.9007 GB, free: 6.602 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.8876, allocations: 3.938 kB / 0.9007 GB, free: 6.598 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001076/0.8887, allocations: 0.8748 MB / 0.9015 GB, free: 6.043 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003455/0.8921, allocations: 2.137 MB / 0.9036 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.8922, allocations: 6.531 kB / 0.9036 GB, free: 4.629 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007358/0.8929, allocations: 159.8 kB / 0.9038 GB, free: 4.598 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.8929, allocations: 5.094 kB / 0.9038 GB, free: 4.598 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-05/0.893, allocations: 17.09 kB / 0.9038 GB, free: 4.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003245/0.8933, allocations: 0.5916 MB / 0.9044 GB, free: 3.992 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/0.8933, allocations: 9.656 kB / 0.9044 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/0.8951, allocations: 1.312 MB / 0.9057 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003908/0.8955, allocations: 258.8 kB / 0.9059 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.8957, allocations: 14.38 kB / 0.9059 GB, free: 2.984 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005806/0.8962, allocations: 20.64 kB / 0.9059 GB, free: 2.973 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.8964, allocations: 53.05 kB / 0.906 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.162e-05/0.8964, allocations: 27.33 kB / 0.906 GB, free: 2.934 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000782/0.8972, allocations: 0.5453 MB / 0.9066 GB, free: 2.609 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8972, allocations: 0 / 0.9066 GB, free: 2.609 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001673/0.8989, allocations: 0.5594 MB / 0.9071 GB, free: 2.484 MB / 0.6544 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.0006058/0.8995, allocations: 243.9 kB / 0.9073 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002242/0.9018, allocations: 1.165 MB / 0.9085 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.9018, allocations: 1.312 kB / 0.9085 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005869/0.9024, allocations: 361.2 kB / 0.9088 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/0.9043, allocations: 0.4896 MB / 0.9093 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003619/0.908, allocations: 2.237 MB / 0.9115 GB, free: 14.79 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007575/0.9087, allocations: 1.171 MB / 0.9126 GB, free: 13.59 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009749/0.9097, allocations: 359.8 kB / 0.913 GB, free: 13.23 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002079/0.9099, allocations: 79.42 kB / 0.913 GB, free: 13.15 MB / 0.67 GB Notification: Performance of SimCode: time 7.41e-07/0.91, allocations: 3.094 kB / 0.913 GB, free: 13.15 MB / 0.67 GB Notification: Performance of Templates: time 0.02958/0.9395, allocations: 17.69 MB / 0.9303 GB, free: 11.81 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./IDEAS_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)