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.0008983/0.0008984, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001135/0.001135, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8409/0.8409, allocations: 132.4 MB / 423.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002928/0.0002929, allocations: 8 kB / 0.5034 GB, free: 4.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3508, allocations: 81.56 MB / 0.5831 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.1798/0.5306, allocations: 180.2 MB / 0.759 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01205/0.5427, allocations: 10.15 MB / 0.7689 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00078/0.5435, allocations: 39.75 kB / 0.769 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.5446, allocations: 373.5 kB / 0.7693 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002908/0.5475, allocations: 1.328 MB / 0.7706 GB, free: 60 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002133/0.5496, allocations: 0.8714 MB / 0.7715 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0029/0.5525, allocations: 3.181 MB / 0.7746 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/0.5536, allocations: 0.8848 MB / 0.7755 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002045/0.5557, allocations: 1.233 MB / 0.7767 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/0.5568, allocations: 0.8911 MB / 0.7775 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.5569, allocations: 52 kB / 0.7776 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00207/0.559, allocations: 1.041 MB / 0.7786 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004189/0.5594, allocations: 450.6 kB / 0.779 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002537/0.5597, allocations: 273 kB / 0.7793 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001596/0.5613, allocations: 1.625 MB / 0.7809 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.5613, allocations: 4 kB / 0.7809 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5613, allocations: 0 / 0.7809 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.5613, allocations: 0 / 0.7809 GB, free: 5.531 MB / 0.6075 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.002213/0.5636, allocations: 1.452 MB / 0.7823 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.5636, allocations: 8.031 kB / 0.7823 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001707/0.5653, allocations: 326 kB / 0.7826 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.5669, allocations: 0.9022 MB / 0.7835 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.408e-05/0.567, allocations: 82 kB / 0.7836 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.5671, allocations: 104 kB / 0.7837 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/0.5689, allocations: 1.171 MB / 0.7848 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.569, allocations: 0 / 0.7848 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.511e-05/0.5691, allocations: 40 kB / 0.7849 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-05/0.5691, allocations: 41.98 kB / 0.7849 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00146/0.5706, allocations: 0.929 MB / 0.7858 GB, free: 360 kB / 0.6075 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.004649/0.5752, allocations: 4.726 MB / 0.7904 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.5763, allocations: 0.7336 MB / 0.7911 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005453/0.5769, allocations: 399.7 kB / 0.7915 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005629/0.5775, allocations: 332.7 kB / 0.7918 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.5775, allocations: 43.12 kB / 0.7919 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=69): time 1.924e-06/0.5775, allocations: 0 / 0.7919 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69): time 0.001806/0.5793, allocations: 1.013 MB / 0.7929 GB, free: 8.656 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.5794, allocations: 63.97 kB / 0.7929 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008878/0.5803, allocations: 0.7947 MB / 0.7937 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.25e-05/0.5803, allocations: 49.64 kB / 0.7938 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000354/0.5807, allocations: 0.5305 MB / 0.7943 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.5809, allocations: 240.5 kB / 0.7945 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.5809, allocations: 16 kB / 0.7945 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.581, allocations: 337.9 kB / 0.7948 GB, free: 6.578 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004698/0.5815, allocations: 293.8 kB / 0.7951 GB, free: 6.289 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00062/0.5821, allocations: 0.5141 MB / 0.7956 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005732/0.5827, allocations: 375 kB / 0.796 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.5827, allocations: 0 / 0.796 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001355/0.5841, allocations: 0.9101 MB / 0.7969 GB, free: 4.418 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001118/0.5842, allocations: 220 kB / 0.7971 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.5842, allocations: 4 kB / 0.7971 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.5842, allocations: 11.95 kB / 0.7971 GB, free: 4.125 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008392/0.5851, allocations: 187.7 kB / 0.7973 GB, free: 3.941 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003249/0.5854, allocations: 0.5977 MB / 0.7979 GB, free: 3.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007757/0.5862, allocations: 132.7 kB / 0.798 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.063e-05/0.5863, allocations: 31.98 kB / 0.798 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.452e-06/0.5863, allocations: 4 kB / 0.798 GB, free: 3.156 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001221/0.5875, allocations: 0.7964 MB / 0.7988 GB, free: 2.359 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.5875, allocations: 8 kB / 0.7988 GB, free: 2.352 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.5876, allocations: 12.03 kB / 0.7988 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006335/0.5882, allocations: 167.7 kB / 0.799 GB, free: 2.176 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.5882, allocations: 15.92 kB / 0.799 GB, free: 2.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000674/0.5889, allocations: 119.2 kB / 0.7991 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.814e-05/0.589, allocations: 32 kB / 0.7991 GB, free: 2.012 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004429/0.5894, allocations: 412.7 kB / 0.7995 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.5896, allocations: 98.78 kB / 0.7996 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.5909, allocations: 0.8016 MB / 0.8004 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.5909, allocations: 8 kB / 0.8004 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.5909, allocations: 0 / 0.8004 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001061/0.592, allocations: 0.8983 MB / 0.8013 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003129/0.5951, allocations: 2.167 MB / 0.8034 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.5951, allocations: 4 kB / 0.8034 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007126/0.5959, allocations: 156.1 kB / 0.8036 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.5959, allocations: 4 kB / 0.8036 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-05/0.5959, allocations: 20 kB / 0.8036 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002545/0.5962, allocations: 0.5976 MB / 0.8042 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.5962, allocations: 3.938 kB / 0.8042 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.5979, allocations: 1.335 MB / 0.8055 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003189/0.5982, allocations: 255.7 kB / 0.8057 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.5984, allocations: 20 kB / 0.8057 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005654/0.5989, allocations: 67.78 kB / 0.8058 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.906e-05/0.599, allocations: 48.47 kB / 0.8058 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.76e-05/0.5991, allocations: 27.98 kB / 0.8059 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006231/0.5997, allocations: 0.5382 MB / 0.8064 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5997, allocations: 0 / 0.8064 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001231/0.601, allocations: 0.5609 MB / 0.8069 GB, free: 9.707 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004734/0.6014, allocations: 243.6 kB / 0.8072 GB, free: 9.484 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001933/0.6034, allocations: 1.169 MB / 0.8083 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6034, allocations: 0 / 0.8083 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005681/0.604, allocations: 374.9 kB / 0.8087 GB, free: 7.957 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/0.606, allocations: 489.4 kB / 0.8091 GB, free: 7.484 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003386/0.6094, allocations: 2.785 MB / 0.8119 GB, free: 4.648 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006656/0.6101, allocations: 1.171 MB / 0.813 GB, free: 3.449 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001065/0.6111, allocations: 360 kB / 0.8133 GB, free: 3.094 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/0.6114, allocations: 91.41 kB / 0.8134 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of SimCode: time 2.51e-07/0.6114, allocations: 0 / 0.8134 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of Templates: time 0.2621/0.8735, allocations: 16.61 MB / 0.8297 GB, free: 213.6 MB / 0.6387 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)