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.001357/0.001357, allocations: 107.8 kB / 16.41 MB, free: 6.465 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.001507/0.001507, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7784/0.7784, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 65.45 kB / 0.582 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.161, allocations: 80.21 MB / 0.6604 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.6232/0.7843, allocations: 198 MB / 0.8537 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01686/0.8012, allocations: 10.91 MB / 0.8643 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001833/0.8031, allocations: 43.75 kB / 0.8644 GB, free: 4.152 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002124/0.8053, allocations: 0.527 MB / 0.8649 GB, free: 3.703 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006482/0.8118, allocations: 1.787 MB / 0.8666 GB, free: 2.32 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003884/0.8157, allocations: 1.173 MB / 0.8678 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004132/0.8198, allocations: 2.777 MB / 0.8705 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002191/0.822, allocations: 1.204 MB / 0.8717 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004875/0.8269, allocations: 1.638 MB / 0.8733 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00208/0.829, allocations: 0.9533 MB / 0.8742 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004795/0.8295, allocations: 124 kB / 0.8743 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003774/0.8333, allocations: 1.711 MB / 0.876 GB, free: 9.18 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008074/0.8341, allocations: 0.522 MB / 0.8765 GB, free: 8.656 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001444/0.8356, allocations: 0.7153 MB / 0.8772 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005079/0.8407, allocations: 2.368 MB / 0.8795 GB, free: 5.562 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.8407, allocations: 3.938 kB / 0.8795 GB, free: 5.559 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8407, allocations: 0 / 0.8795 GB, free: 5.559 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.82e-05/0.8408, allocations: 0 / 0.8795 GB, free: 5.559 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.004112/0.8449, allocations: 1.69 MB / 0.8812 GB, free: 3.812 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.845, allocations: 12.03 kB / 0.8812 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00216/0.8471, allocations: 318 kB / 0.8815 GB, free: 3.488 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00186/0.849, allocations: 0.9288 MB / 0.8824 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.818e-05/0.8491, allocations: 81.94 kB / 0.8825 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002063/0.8493, allocations: 104 kB / 0.8826 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/0.8516, allocations: 1.179 MB / 0.8837 GB, free: 1.117 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.185e-05/0.8516, allocations: 4 kB / 0.8837 GB, free: 1.113 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.8517, allocations: 43.94 kB / 0.8838 GB, free: 1.07 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.49e-05/0.8518, allocations: 38 kB / 0.8838 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001748/0.8535, allocations: 0.9368 MB / 0.8847 GB, free: 96 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.006065/0.8596, allocations: 4.702 MB / 0.8893 GB, free: 11 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.8608, allocations: 0.7109 MB / 0.89 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005965/0.8614, allocations: 394.9 kB / 0.8904 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006362/0.8621, allocations: 315.8 kB / 0.8907 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.107e-05/0.8622, allocations: 43.12 kB / 0.8907 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=68): time 3.256e-06/0.8622, allocations: 0 / 0.8907 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of matching and sorting (n=68): time 0.002102/0.8643, allocations: 1.001 MB / 0.8917 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.8643, allocations: 59.97 kB / 0.8917 GB, free: 8.406 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.8654, allocations: 0.8025 MB / 0.8925 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.178e-05/0.8655, allocations: 41.7 kB / 0.8926 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000389/0.8659, allocations: 0.5383 MB / 0.8931 GB, free: 6.984 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002143/0.8661, allocations: 240.5 kB / 0.8933 GB, free: 6.746 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/0.8664, allocations: 154.5 kB / 0.8935 GB, free: 6.59 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.8665, allocations: 334 kB / 0.8938 GB, free: 6.258 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004785/0.867, allocations: 300.7 kB / 0.8941 GB, free: 5.961 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006325/0.8676, allocations: 0.4977 MB / 0.8946 GB, free: 5.375 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.8687, allocations: 0.7913 MB / 0.8953 GB, free: 4.523 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.8688, allocations: 0 / 0.8953 GB, free: 4.523 MB / 0.6544 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001514/0.8703, allocations: 0.9063 MB / 0.8962 GB, free: 3.609 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.36e-05/0.8703, allocations: 8 kB / 0.8962 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.8703, allocations: 8.031 kB / 0.8962 GB, free: 3.594 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.8704, allocations: 8 kB / 0.8962 GB, free: 3.586 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008619/0.8712, allocations: 181.4 kB / 0.8964 GB, free: 3.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003862/0.8716, allocations: 0.6093 MB / 0.897 GB, free: 2.777 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007837/0.8724, allocations: 83.3 kB / 0.8971 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.904e-05/0.8725, allocations: 36 kB / 0.8971 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008476/0.8734, allocations: 0.5456 MB / 0.8977 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006305/0.874, allocations: 0.4976 MB / 0.8981 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001135/0.8752, allocations: 0.7913 MB / 0.8989 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.849e-06/0.8752, allocations: 0 / 0.8989 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001491/0.8767, allocations: 0.9059 MB / 0.8998 GB, free: 15.76 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.8767, allocations: 12.12 kB / 0.8998 GB, free: 15.75 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.8767, allocations: 4 kB / 0.8998 GB, free: 15.75 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.8767, allocations: 11.94 kB / 0.8998 GB, free: 15.73 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006243/0.8774, allocations: 171.7 kB / 0.9 GB, free: 15.57 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.735e-05/0.8774, allocations: 12.41 kB / 0.9 GB, free: 15.55 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007669/0.8782, allocations: 67.5 kB / 0.9001 GB, free: 15.49 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.632e-05/0.8782, allocations: 32 kB / 0.9001 GB, free: 15.46 MB / 0.67 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.0002369/0.8785, allocations: 232 kB / 0.9003 GB, free: 15.22 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001952/0.8787, allocations: 102.7 kB / 0.9004 GB, free: 15.12 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/0.88, allocations: 0.7948 MB / 0.9012 GB, free: 14.32 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.8801, allocations: 4 kB / 0.9012 GB, free: 14.32 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.8801, allocations: 3.938 kB / 0.9012 GB, free: 14.31 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001033/0.8811, allocations: 0.8788 MB / 0.9021 GB, free: 13.36 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003512/0.8846, allocations: 2.135 MB / 0.9041 GB, free: 11.12 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/0.8847, allocations: 4 kB / 0.9041 GB, free: 11.12 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007346/0.8854, allocations: 156.1 kB / 0.9043 GB, free: 10.96 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.259e-05/0.8854, allocations: 12 kB / 0.9043 GB, free: 10.95 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.687e-05/0.8855, allocations: 19.98 kB / 0.9043 GB, free: 10.93 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002952/0.8858, allocations: 0.5899 MB / 0.9049 GB, free: 10.32 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.8858, allocations: 9.5 kB / 0.9049 GB, free: 10.31 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.8876, allocations: 1.319 MB / 0.9062 GB, free: 8.953 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000419/0.888, allocations: 255.7 kB / 0.9064 GB, free: 8.684 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.8882, allocations: 16 kB / 0.9065 GB, free: 8.668 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005513/0.8887, allocations: 20.55 kB / 0.9065 GB, free: 8.648 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.286e-05/0.8888, allocations: 40.52 kB / 0.9065 GB, free: 8.605 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-05/0.8889, allocations: 23.98 kB / 0.9065 GB, free: 8.582 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007643/0.8897, allocations: 0.5577 MB / 0.9071 GB, free: 8.012 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8897, allocations: 0 / 0.9071 GB, free: 8.012 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001556/0.8912, allocations: 0.5608 MB / 0.9076 GB, free: 7.449 MB / 0.67 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.000614/0.8919, allocations: 234.8 kB / 0.9079 GB, free: 7.23 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002197/0.8941, allocations: 1.162 MB / 0.909 GB, free: 6.074 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.8941, allocations: 8.125 kB / 0.909 GB, free: 6.066 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006028/0.8947, allocations: 362.9 kB / 0.9093 GB, free: 5.707 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002197/0.8969, allocations: 489.5 kB / 0.9098 GB, free: 5.25 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004196/0.9011, allocations: 2.321 MB / 0.9121 GB, free: 2.867 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008866/0.902, allocations: 1.182 MB / 0.9132 GB, free: 1.656 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003819/0.9024, allocations: 87.42 kB / 0.9133 GB, free: 1.57 MB / 0.67 GB Notification: Performance of SimCode: time 9.02e-07/0.9024, allocations: 0 / 0.9133 GB, free: 1.57 MB / 0.67 GB Notification: Performance of Templates: time 0.03218/0.9346, allocations: 21.29 MB / 0.9341 GB, free: 12.44 MB / 0.7012 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)