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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="IDEAS_dev_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.0008171/0.0008171, allocations: 98.19 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.005148/0.005148, allocations: 169.8 kB / 16.27 MB, free: 6.332 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.317/1.317, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.901/0.901, allocations: 135.3 MB / 426.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002957/0.0002957, allocations: 13.14 kB / 0.5077 GB, free: 4.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1363, allocations: 82.31 MB / 0.5881 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.4121/0.5484, allocations: 193.1 MB / 0.7767 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01292/0.5614, allocations: 10.84 MB / 0.7872 GB, free: 436 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007708/0.5622, allocations: 43.69 kB / 0.7873 GB, free: 392 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.5634, allocations: 437.5 kB / 0.7877 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003452/0.5669, allocations: 1.677 MB / 0.7893 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002296/0.5692, allocations: 1.054 MB / 0.7904 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00335/0.5725, allocations: 3.752 MB / 0.794 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00121/0.5738, allocations: 0.9861 MB / 0.795 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003191/0.577, allocations: 1.414 MB / 0.7964 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001196/0.5782, allocations: 0.9287 MB / 0.7973 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.5783, allocations: 55.98 kB / 0.7973 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002739/0.581, allocations: 1.89 MB / 0.7992 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003939/0.5814, allocations: 458.6 kB / 0.7996 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005729/0.582, allocations: 0.6467 MB / 0.8002 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002295/0.5843, allocations: 2.332 MB / 0.8025 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.5843, allocations: 4 kB / 0.8025 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5843, allocations: 3.938 kB / 0.8025 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.5844, allocations: 0 / 0.8025 GB, free: 0.7188 MB / 0.6075 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.002067/0.5864, allocations: 1.435 MB / 0.8039 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.5865, allocations: 12.03 kB / 0.8039 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001655/0.5867, allocations: 160.2 kB / 0.8041 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001588/0.5882, allocations: 318 kB / 0.8044 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.5894, allocations: 0.8703 MB / 0.8052 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.855e-05/0.5895, allocations: 82 kB / 0.8053 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.5896, allocations: 100 kB / 0.8054 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.5912, allocations: 1.179 MB / 0.8066 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.391e-05/0.5913, allocations: 11.92 kB / 0.8066 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.086e-05/0.5914, allocations: 40 kB / 0.8066 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.86e-05/0.5914, allocations: 41.94 kB / 0.8067 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/0.5928, allocations: 0.9329 MB / 0.8076 GB, free: 11.41 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.004373/0.5972, allocations: 4.71 MB / 0.8122 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009962/0.5982, allocations: 0.7125 MB / 0.8129 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005119/0.5987, allocations: 402.9 kB / 0.8133 GB, free: 5.195 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000533/0.5993, allocations: 331.8 kB / 0.8136 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.5993, allocations: 39.12 kB / 0.8136 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=68): time 1.673e-06/0.5993, allocations: 0 / 0.8136 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=68): time 0.001623/0.6009, allocations: 0.9975 MB / 0.8146 GB, free: 3.77 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.601, allocations: 59.97 kB / 0.8146 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008458/0.6018, allocations: 0.8025 MB / 0.8154 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.406e-05/0.6019, allocations: 41.7 kB / 0.8155 GB, free: 2.824 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000341/0.6022, allocations: 0.5383 MB / 0.816 GB, free: 2.277 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001724/0.6024, allocations: 240.5 kB / 0.8162 GB, free: 2.039 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.028e-05/0.6025, allocations: 65.69 kB / 0.8163 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.6026, allocations: 341.9 kB / 0.8166 GB, free: 1.629 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004304/0.6031, allocations: 281.8 kB / 0.8169 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005839/0.6036, allocations: 0.5093 MB / 0.8174 GB, free: 0.7656 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.6047, allocations: 0.7835 MB / 0.8181 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.6047, allocations: 4 kB / 0.8181 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001261/0.606, allocations: 0.9063 MB / 0.819 GB, free: 15 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001117/0.6061, allocations: 228.8 kB / 0.8192 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.6061, allocations: 7.938 kB / 0.8193 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.6061, allocations: 15.94 kB / 0.8193 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007735/0.6069, allocations: 186.8 kB / 0.8194 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003174/0.6072, allocations: 0.6016 MB / 0.82 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007325/0.608, allocations: 131.2 kB / 0.8202 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.329e-05/0.608, allocations: 28 kB / 0.8202 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.691e-06/0.608, allocations: 8 kB / 0.8202 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001139/0.6092, allocations: 0.7885 MB / 0.821 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.6092, allocations: 8.125 kB / 0.821 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.6092, allocations: 11.94 kB / 0.821 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005668/0.6098, allocations: 171.7 kB / 0.8211 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.845e-05/0.6098, allocations: 11.98 kB / 0.8212 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000666/0.6105, allocations: 111.3 kB / 0.8213 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.983e-05/0.6105, allocations: 32 kB / 0.8213 GB, free: 12.59 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.0003959/0.6109, allocations: 408.8 kB / 0.8217 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.6111, allocations: 98.78 kB / 0.8218 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.6123, allocations: 0.7975 MB / 0.8226 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.6123, allocations: 4.094 kB / 0.8226 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.6123, allocations: 7.938 kB / 0.8226 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009851/0.6133, allocations: 0.871 MB / 0.8234 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002985/0.6163, allocations: 2.155 MB / 0.8255 GB, free: 8.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.6163, allocations: 8.281 kB / 0.8255 GB, free: 8.062 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006511/0.617, allocations: 151.8 kB / 0.8257 GB, free: 7.914 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.617, allocations: 4 kB / 0.8257 GB, free: 7.91 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.572e-05/0.6171, allocations: 27.98 kB / 0.8257 GB, free: 7.883 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002554/0.6173, allocations: 0.5898 MB / 0.8263 GB, free: 7.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.6173, allocations: 4 kB / 0.8263 GB, free: 7.266 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.619, allocations: 1.315 MB / 0.8276 GB, free: 5.902 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003095/0.6193, allocations: 251.8 kB / 0.8278 GB, free: 5.637 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.6194, allocations: 23.92 kB / 0.8278 GB, free: 5.613 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005604/0.6199, allocations: 63.8 kB / 0.8279 GB, free: 5.551 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.214e-05/0.62, allocations: 52.44 kB / 0.8279 GB, free: 5.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.797e-05/0.6201, allocations: 31.92 kB / 0.828 GB, free: 5.469 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006834/0.6208, allocations: 0.5382 MB / 0.8285 GB, free: 4.918 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6208, allocations: 0 / 0.8285 GB, free: 4.918 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001172/0.622, allocations: 0.5648 MB / 0.8291 GB, free: 4.352 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.002368/0.6243, allocations: 2.003 MB / 0.831 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001887/0.6262, allocations: 1.15 MB / 0.8321 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6263, allocations: 0 / 0.8321 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005328/0.6268, allocations: 379.7 kB / 0.8325 GB, free: 0.8008 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002442/0.6292, allocations: 475 kB / 0.8329 GB, free: 352 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/0.6417, allocations: 8.813 MB / 0.8416 GB, free: 7.129 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009015/0.6427, allocations: 1.175 MB / 0.8427 GB, free: 5.926 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001227/0.6439, allocations: 351.9 kB / 0.843 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000604/0.6445, allocations: 431.3 kB / 0.8434 GB, free: 5.156 MB / 0.6544 GB Notification: Performance of SimCode: time 1.814e-06/0.6445, allocations: 3.938 kB / 0.8434 GB, free: 5.152 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5319/1.176, allocations: 25.26 MB / 0.8681 GB, free: 216.3 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/1.177, allocations: 276.4 kB / 0.8684 GB, free: 215.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.356/3.533, allocations: 3.094 kB / 0.8684 GB, free: 215.9 MB / 0.67 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)