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-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_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.0008658/0.0008658, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.000879/0.0008791, allocations: 177.3 kB / 15.94 MB, free: 228 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.178/1.178, allocations: 223.2 MB / 239.9 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8342/0.8342, allocations: 135.2 MB / 426.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003253/0.0003253, allocations: 13.42 kB / 0.5068 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1443, allocations: 82.31 MB / 0.5872 GB, free: 3.078 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.3868/0.5311, allocations: 164.1 MB / 0.7474 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01228/0.5434, allocations: 9.561 MB / 0.7568 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.5447, allocations: 39.75 kB / 0.7568 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00158/0.5463, allocations: 0.5092 MB / 0.7573 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004104/0.5504, allocations: 1.586 MB / 0.7589 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002889/0.5533, allocations: 1.137 MB / 0.76 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002182/0.5555, allocations: 1.622 MB / 0.7616 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.5565, allocations: 0.9014 MB / 0.7624 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001929/0.5585, allocations: 1.121 MB / 0.7635 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007549/0.5593, allocations: 0.642 MB / 0.7642 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.5594, allocations: 52 kB / 0.7642 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.561, allocations: 0.8229 MB / 0.765 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003511/0.5614, allocations: 418.8 kB / 0.7654 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002371/0.5616, allocations: 273 kB / 0.7657 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001386/0.563, allocations: 1.515 MB / 0.7672 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.563, allocations: 0 / 0.7672 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.503e-06/0.563, allocations: 4 kB / 0.7672 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.563, allocations: 0 / 0.7672 GB, free: 4.195 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.002072/0.5651, allocations: 1.423 MB / 0.7686 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.5652, allocations: 8.031 kB / 0.7686 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/0.5668, allocations: 334 kB / 0.7689 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.5682, allocations: 0.8515 MB / 0.7697 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.584e-05/0.5683, allocations: 78 kB / 0.7698 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.5684, allocations: 115.9 kB / 0.7699 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.57, allocations: 1.167 MB / 0.771 GB, free: 100 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.5701, allocations: 3.938 kB / 0.771 GB, free: 96 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.859e-05/0.5701, allocations: 44 kB / 0.7711 GB, free: 52 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.893e-05/0.5702, allocations: 38 kB / 0.7711 GB, free: 12 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.5716, allocations: 0.929 MB / 0.772 GB, free: 15.08 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.004676/0.5763, allocations: 4.714 MB / 0.7766 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.5773, allocations: 0.7329 MB / 0.7773 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003632/0.5777, allocations: 154.5 kB / 0.7775 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.5777, allocations: 39.12 kB / 0.7775 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=69): time 3.987e-06/0.5777, allocations: 3.984 kB / 0.7775 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69): time 0.00166/0.5794, allocations: 1.017 MB / 0.7785 GB, free: 8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.5794, allocations: 63.97 kB / 0.7786 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000821/0.5802, allocations: 0.7869 MB / 0.7794 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.553e-05/0.5803, allocations: 49.64 kB / 0.7794 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003489/0.5807, allocations: 0.5306 MB / 0.7799 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000186/0.5809, allocations: 248.4 kB / 0.7802 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.5809, allocations: 16 kB / 0.7802 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.581, allocations: 341.9 kB / 0.7805 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004244/0.5815, allocations: 293.8 kB / 0.7808 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005784/0.582, allocations: 0.5063 MB / 0.7813 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005277/0.5826, allocations: 375 kB / 0.7816 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.5826, allocations: 0 / 0.7816 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001248/0.5838, allocations: 0.9102 MB / 0.7825 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005883/0.5844, allocations: 1.752 MB / 0.7842 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.5845, allocations: 4 kB / 0.7842 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.5845, allocations: 8 kB / 0.7842 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007987/0.5853, allocations: 179.7 kB / 0.7844 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003361/0.5856, allocations: 0.6055 MB / 0.785 GB, free: 1.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007841/0.5864, allocations: 127.9 kB / 0.7851 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-05/0.5865, allocations: 35.98 kB / 0.7852 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.742e-06/0.5865, allocations: 4 kB / 0.7852 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001102/0.5876, allocations: 0.792 MB / 0.7859 GB, free: 108 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.5876, allocations: 4 kB / 0.7859 GB, free: 104 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.5876, allocations: 12.55 kB / 0.786 GB, free: 92 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005944/0.5882, allocations: 175.8 kB / 0.7861 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.5883, allocations: 8.875 kB / 0.7861 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006793/0.589, allocations: 127.1 kB / 0.7863 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.808e-05/0.589, allocations: 29.02 kB / 0.7863 GB, free: 15.75 MB / 0.6075 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.0004415/0.5895, allocations: 408.8 kB / 0.7867 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.5896, allocations: 102.8 kB / 0.7868 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/0.5908, allocations: 0.8054 MB / 0.7876 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.5908, allocations: 11.95 kB / 0.7876 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5908, allocations: 0 / 0.7876 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009535/0.5918, allocations: 0.8788 MB / 0.7884 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003037/0.5948, allocations: 2.178 MB / 0.7906 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.5948, allocations: 0 / 0.7906 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000658/0.5955, allocations: 156.6 kB / 0.7907 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.5955, allocations: 8.281 kB / 0.7907 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-05/0.5956, allocations: 20 kB / 0.7907 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002618/0.5958, allocations: 0.5976 MB / 0.7913 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.5958, allocations: 7.984 kB / 0.7913 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.5975, allocations: 1.428 MB / 0.7927 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003599/0.5978, allocations: 259.7 kB / 0.793 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.5979, allocations: 20 kB / 0.793 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005517/0.5985, allocations: 67.8 kB / 0.793 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.526e-05/0.5986, allocations: 48.44 kB / 0.7931 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.063e-05/0.5986, allocations: 25.61 kB / 0.7931 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005869/0.5992, allocations: 0.546 MB / 0.7936 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5992, allocations: 0 / 0.7936 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001178/0.6004, allocations: 0.5609 MB / 0.7942 GB, free: 7.301 MB / 0.6075 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.0004265/0.6008, allocations: 242.5 kB / 0.7944 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001773/0.6026, allocations: 1.161 MB / 0.7956 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6026, allocations: 0 / 0.7956 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005053/0.6032, allocations: 379.6 kB / 0.7959 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001846/0.605, allocations: 484.8 kB / 0.7964 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003505/0.6085, allocations: 2.758 MB / 0.7991 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007075/0.6093, allocations: 1.197 MB / 0.8002 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001054/0.6103, allocations: 364 kB / 0.8006 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.6105, allocations: 87.41 kB / 0.8007 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of SimCode: time 5.51e-07/0.6105, allocations: 0 / 0.8007 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of Templates: time 0.02507/0.6356, allocations: 16.61 MB / 0.8169 GB, free: 268 kB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: