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.001166/0.001166, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001229/0.001229, allocations: 191.3 kB / 16.25 MB, free: 6.645 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.366/1.366, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9493/0.9493, allocations: 135.2 MB / 425.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 60.16 kB / 0.5049 GB, free: 5.625 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1715, allocations: 80.94 MB / 0.5839 GB, free: 4.855 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.4962/0.6678, allocations: 195.4 MB / 0.7748 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01604/0.6839, allocations: 10.82 MB / 0.7853 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001788/0.6857, allocations: 47.69 kB / 0.7854 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.6875, allocations: 449.5 kB / 0.7858 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004703/0.6923, allocations: 1.685 MB / 0.7875 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003167/0.6954, allocations: 1.055 MB / 0.7885 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003756/0.6992, allocations: 2.784 MB / 0.7912 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001687/0.7009, allocations: 1.16 MB / 0.7923 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004567/0.7055, allocations: 1.616 MB / 0.7939 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001879/0.7074, allocations: 1.004 MB / 0.7949 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002651/0.7077, allocations: 124 kB / 0.795 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00357/0.7112, allocations: 1.773 MB / 0.7967 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006504/0.7119, allocations: 0.5337 MB / 0.7973 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001035/0.713, allocations: 0.7114 MB / 0.798 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003983/0.717, allocations: 2.43 MB / 0.8003 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.717, allocations: 0 / 0.8003 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of FrontEnd: time 6.863e-06/0.717, allocations: 0 / 0.8003 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.324e-05/0.717, allocations: 7.938 kB / 0.8003 GB, free: 15.73 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.002876/0.7199, allocations: 1.688 MB / 0.802 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.72, allocations: 8.031 kB / 0.802 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00189/0.7219, allocations: 322.1 kB / 0.8023 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.7235, allocations: 0.8664 MB / 0.8032 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.687e-05/0.7235, allocations: 78 kB / 0.8032 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.7237, allocations: 104 kB / 0.8033 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.7255, allocations: 1.175 MB / 0.8045 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.7256, allocations: 7.906 kB / 0.8045 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.289e-05/0.7257, allocations: 40 kB / 0.8045 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.845e-05/0.7257, allocations: 38 kB / 0.8046 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00154/0.7273, allocations: 0.9407 MB / 0.8055 GB, free: 10.34 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.005211/0.7325, allocations: 4.71 MB / 0.8101 GB, free: 5.238 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.7337, allocations: 0.7099 MB / 0.8108 GB, free: 4.52 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005714/0.7342, allocations: 395 kB / 0.8111 GB, free: 4.133 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006006/0.7349, allocations: 312.8 kB / 0.8114 GB, free: 3.773 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/0.7349, allocations: 51.05 kB / 0.8115 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=68): time 2.865e-06/0.7349, allocations: 0 / 0.8115 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of matching and sorting (n=68): time 0.001955/0.7369, allocations: 1.001 MB / 0.8125 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.7369, allocations: 55.97 kB / 0.8125 GB, free: 2.645 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009313/0.7379, allocations: 0.7948 MB / 0.8133 GB, free: 1.824 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.322e-05/0.7379, allocations: 41.7 kB / 0.8133 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003893/0.7383, allocations: 0.5382 MB / 0.8139 GB, free: 1.23 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/0.7386, allocations: 244.5 kB / 0.8141 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002226/0.7388, allocations: 150.6 kB / 0.8142 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.7389, allocations: 334 kB / 0.8146 GB, free: 0.5039 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004749/0.7394, allocations: 300.6 kB / 0.8148 GB, free: 212 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006804/0.7401, allocations: 0.5017 MB / 0.8153 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.7412, allocations: 0.7913 MB / 0.8161 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.7412, allocations: 0 / 0.8161 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001479/0.7427, allocations: 0.9063 MB / 0.817 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.7427, allocations: 8 kB / 0.817 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.7428, allocations: 9.219 kB / 0.817 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/0.7428, allocations: 12 kB / 0.817 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009467/0.7437, allocations: 179.7 kB / 0.8172 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003767/0.7441, allocations: 0.6093 MB / 0.8178 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008929/0.745, allocations: 125.8 kB / 0.8179 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.76e-05/0.7451, allocations: 39.73 kB / 0.8179 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008802/0.746, allocations: 0.5409 MB / 0.8185 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006161/0.7466, allocations: 0.4988 MB / 0.819 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001094/0.7477, allocations: 0.7896 MB / 0.8197 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.785e-06/0.7477, allocations: 0 / 0.8197 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001365/0.7491, allocations: 0.9057 MB / 0.8206 GB, free: 9.969 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.7491, allocations: 9.406 kB / 0.8206 GB, free: 9.961 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.7492, allocations: 7.938 kB / 0.8206 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.7492, allocations: 12.61 kB / 0.8206 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006419/0.7498, allocations: 171.7 kB / 0.8208 GB, free: 9.773 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.7498, allocations: 11.94 kB / 0.8208 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008604/0.7507, allocations: 111.4 kB / 0.8209 GB, free: 9.652 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.007e-05/0.7508, allocations: 32 kB / 0.821 GB, free: 9.621 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.0002295/0.751, allocations: 230.9 kB / 0.8212 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.7512, allocations: 102.7 kB / 0.8213 GB, free: 9.289 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001387/0.7526, allocations: 0.7943 MB / 0.8221 GB, free: 8.492 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.7526, allocations: 8 kB / 0.8221 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.7526, allocations: 0 / 0.8221 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001067/0.7537, allocations: 0.8778 MB / 0.8229 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003513/0.7572, allocations: 2.139 MB / 0.825 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.7572, allocations: 4 kB / 0.825 GB, free: 5.297 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007541/0.758, allocations: 151.8 kB / 0.8252 GB, free: 5.148 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.337e-06/0.758, allocations: 8 kB / 0.8252 GB, free: 5.141 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-05/0.7581, allocations: 20 kB / 0.8252 GB, free: 5.121 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003114/0.7584, allocations: 0.594 MB / 0.8258 GB, free: 4.504 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.7584, allocations: 7.969 kB / 0.8258 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.7602, allocations: 1.307 MB / 0.827 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004517/0.7607, allocations: 259.5 kB / 0.8273 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/0.7608, allocations: 20 kB / 0.8273 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006996/0.7615, allocations: 75.72 kB / 0.8274 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.34e-05/0.7616, allocations: 40.52 kB / 0.8274 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.945e-05/0.7617, allocations: 27.98 kB / 0.8274 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007506/0.7624, allocations: 0.5421 MB / 0.828 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6.11e-07/0.7624, allocations: 0 / 0.828 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001552/0.764, allocations: 0.5608 MB / 0.8285 GB, free: 1.594 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.0006037/0.7646, allocations: 243.7 kB / 0.8288 GB, free: 1.367 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002624/0.7673, allocations: 1.287 MB / 0.83 GB, free: 80 kB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.7673, allocations: 0 / 0.83 GB, free: 80 kB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006355/0.7679, allocations: 379.7 kB / 0.8304 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002346/0.7703, allocations: 486.8 kB / 0.8308 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004628/0.7749, allocations: 2.723 MB / 0.8335 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009421/0.7759, allocations: 1.177 MB / 0.8347 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001321/0.7772, allocations: 347.8 kB / 0.835 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002833/0.7775, allocations: 79.42 kB / 0.8351 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of SimCode: time 9.22e-07/0.7775, allocations: 0 / 0.8351 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of Templates: time 0.03502/0.8126, allocations: 17.44 MB / 0.8521 GB, free: 9.703 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)