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.001491/0.001491, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.00141/0.00141, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.309/1.309, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7898/0.7898, allocations: 135.2 MB / 426.2 MB, free: 4.16 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 67.89 kB / 0.506 GB, free: 8.352 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.337, allocations: 80.92 MB / 0.5851 GB, free: 25.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.5145/0.8515, allocations: 198 MB / 0.7784 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.012/0.8635, allocations: 10.89 MB / 0.789 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001613/0.8652, allocations: 46.5 kB / 0.7891 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001433/0.8666, allocations: 0.5269 MB / 0.7896 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003966/0.8706, allocations: 1.792 MB / 0.7913 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00254/0.8732, allocations: 1.151 MB / 0.7925 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002652/0.8759, allocations: 2.774 MB / 0.7952 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001419/0.8773, allocations: 1.21 MB / 0.7963 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003513/0.8808, allocations: 1.618 MB / 0.7979 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001332/0.8822, allocations: 0.9526 MB / 0.7989 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001767/0.8823, allocations: 125.1 kB / 0.799 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002762/0.8851, allocations: 1.713 MB / 0.8007 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004142/0.8855, allocations: 0.5201 MB / 0.8012 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006763/0.8862, allocations: 0.7195 MB / 0.8019 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002914/0.8891, allocations: 2.334 MB / 0.8041 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.8892, allocations: 0.7812 kB / 0.8041 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8892, allocations: 3.938 kB / 0.8041 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.897e-05/0.8892, allocations: 0.8438 kB / 0.8041 GB, free: 0.6758 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.002415/0.8916, allocations: 1.691 MB / 0.8058 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.8917, allocations: 11.27 kB / 0.8058 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001684/0.8934, allocations: 325.5 kB / 0.8061 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.8946, allocations: 0.8679 MB / 0.807 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.375e-05/0.8947, allocations: 76.72 kB / 0.807 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.8948, allocations: 111 kB / 0.8071 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.8964, allocations: 1.17 MB / 0.8083 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.8964, allocations: 0.9688 kB / 0.8083 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.972e-05/0.8965, allocations: 49.16 kB / 0.8083 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-05/0.8965, allocations: 38.27 kB / 0.8084 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.8979, allocations: 0.9397 MB / 0.8093 GB, free: 15.21 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.004833/0.9028, allocations: 4.738 MB / 0.8139 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000955/0.9037, allocations: 0.7218 MB / 0.8146 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004697/0.9042, allocations: 397.6 kB / 0.815 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005795/0.9048, allocations: 316.3 kB / 0.8153 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.9048, allocations: 39.03 kB / 0.8153 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=68): time 2.645e-06/0.9049, allocations: 0.7812 kB / 0.8153 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=68): time 0.001726/0.9066, allocations: 1.003 MB / 0.8163 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.9066, allocations: 65.73 kB / 0.8164 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008287/0.9075, allocations: 0.7908 MB / 0.8172 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.761e-05/0.9075, allocations: 41.48 kB / 0.8172 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003342/0.9079, allocations: 0.5391 MB / 0.8177 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/0.9081, allocations: 239.5 kB / 0.8179 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/0.9083, allocations: 149.7 kB / 0.8181 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.9084, allocations: 338.8 kB / 0.8184 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000472/0.9089, allocations: 295.2 kB / 0.8187 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005751/0.9095, allocations: 0.5018 MB / 0.8192 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009842/0.9105, allocations: 0.7945 MB / 0.82 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.9105, allocations: 0.9062 kB / 0.82 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001232/0.9118, allocations: 0.9081 MB / 0.8208 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.9118, allocations: 6.844 kB / 0.8209 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.9118, allocations: 15.42 kB / 0.8209 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.9118, allocations: 8.406 kB / 0.8209 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008022/0.9126, allocations: 185.2 kB / 0.8211 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004239/0.9131, allocations: 0.5956 MB / 0.8216 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007165/0.9138, allocations: 86.98 kB / 0.8217 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.869e-05/0.9139, allocations: 34.8 kB / 0.8218 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007252/0.9146, allocations: 0.5437 MB / 0.8223 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006189/0.9152, allocations: 0.4991 MB / 0.8228 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001073/0.9163, allocations: 0.7913 MB / 0.8235 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.707e-06/0.9163, allocations: 2.406 kB / 0.8235 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001323/0.9177, allocations: 0.9059 MB / 0.8244 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.9177, allocations: 7.156 kB / 0.8244 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.9177, allocations: 6.375 kB / 0.8244 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.9177, allocations: 6.844 kB / 0.8244 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005617/0.9183, allocations: 171.2 kB / 0.8246 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/0.9183, allocations: 13.84 kB / 0.8246 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006724/0.919, allocations: 70.14 kB / 0.8247 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.978e-05/0.919, allocations: 36.14 kB / 0.8247 GB, free: 8.766 MB / 0.5919 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.0002455/0.9193, allocations: 226.9 kB / 0.8249 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.9194, allocations: 102.3 kB / 0.825 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.9207, allocations: 0.7872 MB / 0.8258 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.9207, allocations: 11.41 kB / 0.8258 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.9207, allocations: 0 / 0.8258 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001028/0.9217, allocations: 0.8753 MB / 0.8267 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00334/0.9251, allocations: 2.141 MB / 0.8288 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.9251, allocations: 2.594 kB / 0.8288 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006688/0.9258, allocations: 156.2 kB / 0.8289 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.9258, allocations: 9.875 kB / 0.8289 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.747e-05/0.9259, allocations: 15.56 kB / 0.8289 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003556/0.9262, allocations: 0.6019 MB / 0.8295 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.9262, allocations: 2.719 kB / 0.8295 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/0.928, allocations: 1.32 MB / 0.8308 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003986/0.9284, allocations: 252.1 kB / 0.8311 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/0.9285, allocations: 14.25 kB / 0.8311 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004745/0.929, allocations: 27.23 kB / 0.8311 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.057e-05/0.9291, allocations: 50.28 kB / 0.8311 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-05/0.9292, allocations: 21.72 kB / 0.8312 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006876/0.9299, allocations: 0.5453 MB / 0.8317 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9299, allocations: 4 kB / 0.8317 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001326/0.9312, allocations: 0.5568 MB / 0.8323 GB, free: 4.207 MB / 0.5919 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.0005642/0.9318, allocations: 250.1 kB / 0.8325 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002402/0.9342, allocations: 1.287 MB / 0.8337 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.9342, allocations: 4 kB / 0.8337 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005647/0.9348, allocations: 367 kB / 0.8341 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002009/0.9368, allocations: 488.8 kB / 0.8346 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003736/0.9405, allocations: 2.357 MB / 0.8369 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008245/0.9414, allocations: 1.175 MB / 0.838 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002632/0.9417, allocations: 87.42 kB / 0.8381 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of SimCode: time 5.51e-07/0.9417, allocations: 0 / 0.8381 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of Templates: time 0.02903/0.9707, allocations: 21.18 MB / 0.8588 GB, free: 9.629 MB / 0.6231 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)