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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001052, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.705/0.705, allocations: 133.4 MB / 146.7 MB, free: 10.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 221.3 MB / 400.4 MB, free: 5.828 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008891/0.0008894, allocations: 89.91 kB / 483.3 MB, free: 5.855 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.654e-05/3.703e-05, allocations: 4.031 kB / 0.5601 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1743, allocations: 82.3 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.65/5.824, allocations: 1.941 GB / 2.581 GB, free: 255.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/5.825, allocations: 97.3 kB / 2.581 GB, free: 255.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.309/8.134, allocations: 0.6367 GB / 3.218 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.264e-06/8.134, allocations: 0 / 3.218 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001857/8.134, allocations: 42.05 kB / 3.218 GB, free: 113.2 MB / 0.6823 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.004477/8.139, allocations: 1.469 MB / 3.22 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/8.139, allocations: 11.75 kB / 3.22 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000514/8.139, allocations: 158.3 kB / 3.22 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002451/8.142, allocations: 328.8 kB / 3.22 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003709/8.145, allocations: 1.187 MB / 3.221 GB, free: 112 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.212e-05/8.145, allocations: 82.52 kB / 3.221 GB, free: 112 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003305/8.146, allocations: 106.5 kB / 3.221 GB, free: 112 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002479/8.148, allocations: 1.12 MB / 3.222 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.73e-05/8.148, allocations: 3.906 kB / 3.222 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/8.148, allocations: 43.47 kB / 3.223 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.74e-05/8.149, allocations: 38.41 kB / 3.223 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/8.15, allocations: 0.8746 MB / 3.223 GB, free: 111.8 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.006/8.156, allocations: 4.712 MB / 3.228 GB, free: 109.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009425/8.157, allocations: 0.6507 MB / 3.229 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004653/8.158, allocations: 361.8 kB / 3.229 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005347/8.158, allocations: 309.3 kB / 3.229 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/8.158, allocations: 42.47 kB / 3.229 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=68): time 2.675e-06/8.158, allocations: 0 / 3.229 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.001469/8.16, allocations: 0.6911 MB / 3.23 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/8.16, allocations: 111 kB / 3.23 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008157/8.161, allocations: 0.6889 MB / 3.231 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.153e-05/8.161, allocations: 41.48 kB / 3.231 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003203/8.161, allocations: 0.5371 MB / 3.231 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000178/8.161, allocations: 250.6 kB / 3.232 GB, free: 107 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/8.161, allocations: 15.66 kB / 3.232 GB, free: 107 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.524e-05/8.161, allocations: 342 kB / 3.232 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000368/8.162, allocations: 260.3 kB / 3.232 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005188/8.162, allocations: 0.5069 MB / 3.233 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004787/8.163, allocations: 352.2 kB / 3.233 GB, free: 106 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/8.163, allocations: 0 / 3.233 GB, free: 106 MB / 0.6823 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001189/8.164, allocations: 0.8477 MB / 3.234 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004089/8.164, allocations: 1.747 MB / 3.236 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/8.164, allocations: 3.875 kB / 3.236 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.732e-05/8.164, allocations: 13.75 kB / 3.236 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008363/8.165, allocations: 183.2 kB / 3.236 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003068/8.165, allocations: 0.6022 MB / 3.236 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/8.167, allocations: 132.2 kB / 3.236 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.056e-05/8.167, allocations: 29.69 kB / 3.236 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/8.167, allocations: 5.75 kB / 3.236 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001048/8.168, allocations: 0.7423 MB / 3.237 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/8.168, allocations: 7.656 kB / 3.237 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/8.168, allocations: 10.92 kB / 3.237 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005995/8.168, allocations: 176.1 kB / 3.237 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/8.168, allocations: 7.25 kB / 3.237 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007822/8.169, allocations: 131.1 kB / 3.238 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.308e-05/8.169, allocations: 42.14 kB / 3.238 GB, free: 102.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 1 (limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001821/8.169, allocations: 147 kB / 3.238 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/8.17, allocations: 101.7 kB / 3.238 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/8.171, allocations: 0.7404 MB / 3.239 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/8.171, allocations: 11.42 kB / 3.239 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/8.171, allocations: 0 / 3.239 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008578/8.172, allocations: 0.8288 MB / 3.239 GB, free: 101.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003189/8.175, allocations: 2.054 MB / 3.241 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/8.175, allocations: 3.844 kB / 3.241 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007149/8.176, allocations: 156.3 kB / 3.241 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.946e-06/8.176, allocations: 6.625 kB / 3.241 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.995e-05/8.176, allocations: 27 kB / 3.242 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002158/8.176, allocations: 0.589 MB / 3.242 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/8.176, allocations: 7.703 kB / 3.242 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/8.177, allocations: 1.334 MB / 3.243 GB, free: 99.36 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003681/8.178, allocations: 254.6 kB / 3.244 GB, free: 99.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/8.178, allocations: 19.16 kB / 3.244 GB, free: 99.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006358/8.178, allocations: 85.31 kB / 3.244 GB, free: 99.14 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.005e-05/8.179, allocations: 53.34 kB / 3.244 GB, free: 99.13 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.303e-05/8.179, allocations: 22.45 kB / 3.244 GB, free: 99.12 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006021/8.179, allocations: 0.5366 MB / 3.244 GB, free: 98.88 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.9e-07/8.179, allocations: 0 / 3.244 GB, free: 98.88 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002202/8.181, allocations: 0.7428 MB / 3.245 GB, free: 98.66 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00515/8.187, allocations: 4.26 MB / 3.249 GB, free: 95.84 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002126/8.189, allocations: 1.111 MB / 3.25 GB, free: 94.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/8.189, allocations: 0 / 3.25 GB, free: 94.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005777/8.189, allocations: 340.8 kB / 3.251 GB, free: 94.49 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002144/8.192, allocations: 470.2 kB / 3.251 GB, free: 94.18 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003751/8.195, allocations: 2.068 MB / 3.253 GB, free: 92.45 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006211/8.196, allocations: 1.202 MB / 3.254 GB, free: 91.31 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001317/8.197, allocations: 431.2 kB / 3.255 GB, free: 90.91 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005075/8.198, allocations: 415.3 kB / 3.255 GB, free: 90.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.032e-06/8.198, allocations: 0 / 3.255 GB, free: 90.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08837/8.286, allocations: 60.02 MB / 3.314 GB, free: 31.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001612/8.286, allocations: 220.8 kB / 3.314 GB, free: 30.97 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.128/12.41, allocations: 3.938 kB / 3.314 GB, free: 30.96 MB / 0.6823 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/linux/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)