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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 95.92 kB / 15.36 MB, free: 0.7344 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.008512/0.008512, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.308/1.308, allocations: 223.3 MB / 240.3 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7525/0.7525, allocations: 132.3 MB / 423.7 MB, free: 1.914 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003185, allocations: 8 kB / 0.5041 GB, free: 3.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3781, allocations: 81.57 MB / 0.5838 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.1813/0.5594, allocations: 193.1 MB / 0.7724 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01179/0.5713, allocations: 10.82 MB / 0.7829 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007164/0.572, allocations: 39.75 kB / 0.783 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.5731, allocations: 441.4 kB / 0.7834 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003543/0.5767, allocations: 1.677 MB / 0.785 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002417/0.5791, allocations: 1.057 MB / 0.786 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003594/0.5827, allocations: 3.739 MB / 0.7897 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001145/0.5839, allocations: 1.002 MB / 0.7907 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003226/0.5871, allocations: 1.422 MB / 0.7921 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/0.5883, allocations: 0.9276 MB / 0.793 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.5884, allocations: 52 kB / 0.793 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002699/0.5911, allocations: 1.898 MB / 0.7949 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003841/0.5915, allocations: 450.6 kB / 0.7953 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005486/0.5921, allocations: 0.639 MB / 0.7959 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00221/0.5943, allocations: 2.336 MB / 0.7982 GB, free: 4.031 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.5943, allocations: 0 / 0.7982 GB, free: 4.031 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5943, allocations: 4 kB / 0.7982 GB, free: 4.027 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.286e-05/0.5943, allocations: 0 / 0.7982 GB, free: 4.027 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.002036/0.5964, allocations: 1.437 MB / 0.7996 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.5964, allocations: 12.03 kB / 0.7996 GB, free: 2.523 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001673/0.5966, allocations: 160.3 kB / 0.7998 GB, free: 2.359 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/0.5983, allocations: 325.9 kB / 0.8001 GB, free: 2.039 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.5995, allocations: 0.8703 MB / 0.8009 GB, free: 1.125 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.238e-05/0.5996, allocations: 78 kB / 0.801 GB, free: 1.051 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.5997, allocations: 108 kB / 0.8011 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/0.6014, allocations: 1.179 MB / 0.8023 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.6014, allocations: 0 / 0.8023 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.367e-05/0.6015, allocations: 44 kB / 0.8023 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.725e-05/0.6015, allocations: 38 kB / 0.8024 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/0.603, allocations: 0.9368 MB / 0.8033 GB, free: 14.71 MB / 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.004468/0.6074, allocations: 4.71 MB / 0.8079 GB, free: 9.609 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.6085, allocations: 0.7099 MB / 0.8086 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005104/0.609, allocations: 387.7 kB / 0.8089 GB, free: 8.512 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005386/0.6095, allocations: 332.8 kB / 0.8092 GB, free: 8.133 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.6096, allocations: 47.06 kB / 0.8093 GB, free: 8.078 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=68): time 1.643e-06/0.6096, allocations: 0 / 0.8093 GB, free: 8.078 MB / 0.6387 GB Notification: Performance of matching and sorting (n=68): time 0.00174/0.6113, allocations: 1.001 MB / 0.8103 GB, free: 7.074 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.6114, allocations: 63.91 kB / 0.8103 GB, free: 7 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008878/0.6123, allocations: 0.7909 MB / 0.8111 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.639e-05/0.6123, allocations: 37.7 kB / 0.8111 GB, free: 6.141 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004665/0.6128, allocations: 0.5422 MB / 0.8117 GB, free: 5.59 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002691/0.6131, allocations: 240.5 kB / 0.8119 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.029e-05/0.6132, allocations: 77.61 kB / 0.812 GB, free: 5.27 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002416/0.6134, allocations: 334 kB / 0.8123 GB, free: 4.938 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006228/0.614, allocations: 293.8 kB / 0.8126 GB, free: 4.652 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006504/0.6147, allocations: 0.4983 MB / 0.8131 GB, free: 4.078 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.6159, allocations: 0.7952 MB / 0.8138 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.6159, allocations: 0 / 0.8138 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001603/0.6175, allocations: 0.9097 MB / 0.8147 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001692/0.6177, allocations: 225.3 kB / 0.8149 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.6177, allocations: 15.98 kB / 0.815 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.6177, allocations: 8 kB / 0.815 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008154/0.6185, allocations: 171.7 kB / 0.8151 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004184/0.6189, allocations: 0.6016 MB / 0.8157 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007854/0.6197, allocations: 131.2 kB / 0.8158 GB, free: 1.074 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-05/0.6198, allocations: 39.92 kB / 0.8159 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.212e-06/0.6198, allocations: 4 kB / 0.8159 GB, free: 1.031 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001331/0.6212, allocations: 0.792 MB / 0.8166 GB, free: 244 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.6212, allocations: 7.938 kB / 0.8167 GB, free: 236 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/0.6212, allocations: 12 kB / 0.8167 GB, free: 224 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006809/0.6219, allocations: 163.8 kB / 0.8168 GB, free: 60 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.6219, allocations: 11.94 kB / 0.8168 GB, free: 48 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2586/0.8805, allocations: 113.2 kB / 0.8169 GB, free: 219.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.227e-05/0.8806, allocations: 34.59 kB / 0.817 GB, free: 219.5 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.0006129/0.8812, allocations: 404 kB / 0.8174 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.8814, allocations: 107 kB / 0.8175 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.8827, allocations: 0.7861 MB / 0.8182 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.8828, allocations: 7 kB / 0.8182 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.8828, allocations: 0.6562 kB / 0.8182 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009274/0.8837, allocations: 0.8826 MB / 0.8191 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003063/0.8868, allocations: 2.151 MB / 0.8212 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.8868, allocations: 2.969 kB / 0.8212 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000693/0.8875, allocations: 147.9 kB / 0.8213 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.338e-06/0.8875, allocations: 9.531 kB / 0.8214 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.351e-05/0.8876, allocations: 22.66 kB / 0.8214 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000167/0.8877, allocations: 0.5936 MB / 0.822 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.8877, allocations: 2.781 kB / 0.822 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.8893, allocations: 1.321 MB / 0.8232 GB, free: 216.6 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002994/0.8896, allocations: 260.8 kB / 0.8235 GB, free: 216.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.8898, allocations: 16.5 kB / 0.8235 GB, free: 216.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005885/0.8904, allocations: 67.98 kB / 0.8236 GB, free: 216.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.967e-05/0.8905, allocations: 48.19 kB / 0.8236 GB, free: 216.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-05/0.8905, allocations: 27.86 kB / 0.8237 GB, free: 216.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006458/0.8912, allocations: 0.5454 MB / 0.8242 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8912, allocations: 0.9062 kB / 0.8242 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001252/0.8924, allocations: 0.5638 MB / 0.8247 GB, free: 216.1 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.002069/0.8945, allocations: 1.985 MB / 0.8267 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001747/0.8962, allocations: 1.156 MB / 0.8278 GB, free: 214.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.8963, allocations: 1.781 kB / 0.8278 GB, free: 214.5 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005096/0.8968, allocations: 366.7 kB / 0.8282 GB, free: 214.4 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002337/0.8991, allocations: 493 kB / 0.8286 GB, free: 214.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009709/0.9088, allocations: 8.825 MB / 0.8372 GB, free: 209.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005829/0.9095, allocations: 1.175 MB / 0.8384 GB, free: 208.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00117/0.9106, allocations: 354.6 kB / 0.8387 GB, free: 208.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004563/0.9111, allocations: 430.5 kB / 0.8391 GB, free: 208.2 MB / 0.6387 GB Notification: Performance of SimCode: time 4.41e-07/0.9111, allocations: 0 / 0.8391 GB, free: 208.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08038/0.9915, allocations: 25.25 MB / 0.8638 GB, free: 188.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001369/0.9917, allocations: 271.4 kB / 0.8641 GB, free: 188.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.308/3.3, allocations: 0 / 0.8641 GB, free: 188.3 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > IDEAS_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)