Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="IBPSA_latest_IBPSA_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.001168/0.001169, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5117/0.5117, allocations: 90.81 MB / 104.5 MB, free: 13.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 221.3 MB / 348.3 MB, free: 12.58 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008848/0.0008848, allocations: 98.28 kB / 421.2 MB, free: 5.684 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.256e-05/3.258e-05, allocations: 0 / 0.4897 GB, free: 46.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1384, allocations: 72.31 MB / 0.5603 GB, free: 6.316 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.344/4.482, allocations: 1.931 GB / 2.492 GB, free: 217.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/4.482, allocations: 91.64 kB / 2.492 GB, free: 217.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.868/6.35, allocations: 0.6383 GB / 3.13 GB, free: 23.04 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.673e-06/6.35, allocations: 0 / 3.13 GB, free: 23.04 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.09e-05/6.35, allocations: 35.98 kB / 3.13 GB, free: 23 MB / 0.6042 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.002493/6.353, allocations: 1.48 MB / 3.132 GB, free: 21.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/6.353, allocations: 16.02 kB / 3.132 GB, free: 21.46 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001594/6.353, allocations: 156.3 kB / 3.132 GB, free: 21.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/6.355, allocations: 309.7 kB / 3.132 GB, free: 21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002167/6.357, allocations: 1.195 MB / 3.133 GB, free: 19.76 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.75e-05/6.357, allocations: 74 kB / 3.133 GB, free: 19.69 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/6.357, allocations: 108 kB / 3.133 GB, free: 19.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/6.359, allocations: 1.133 MB / 3.134 GB, free: 18.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/6.359, allocations: 352 / 3.134 GB, free: 18.41 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-05/6.359, allocations: 47.95 kB / 3.134 GB, free: 18.36 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.255e-05/6.359, allocations: 34 kB / 3.134 GB, free: 18.33 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/6.36, allocations: 0.8785 MB / 3.135 GB, free: 17.45 MB / 0.6042 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.003933/6.364, allocations: 4.706 MB / 3.14 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008411/6.365, allocations: 0.6699 MB / 3.141 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004001/6.365, allocations: 355 kB / 3.141 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004595/6.366, allocations: 316.7 kB / 3.141 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/6.366, allocations: 43.12 kB / 3.141 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=68): time 2.024e-06/6.366, allocations: 0 / 3.141 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=68): time 0.001172/6.367, allocations: 0.6969 MB / 3.142 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/6.367, allocations: 115.4 kB / 3.142 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006739/6.368, allocations: 0.681 MB / 3.143 GB, free: 9.359 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.956e-05/6.368, allocations: 37.7 kB / 3.143 GB, free: 9.316 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002386/6.368, allocations: 0.5422 MB / 3.143 GB, free: 8.766 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000138/6.368, allocations: 240.5 kB / 3.144 GB, free: 8.527 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/6.368, allocations: 16 kB / 3.144 GB, free: 8.512 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.051e-05/6.368, allocations: 338 kB / 3.144 GB, free: 8.176 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/6.368, allocations: 261.5 kB / 3.144 GB, free: 7.922 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000464/6.369, allocations: 0.4952 MB / 3.145 GB, free: 7.332 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004093/6.369, allocations: 346.3 kB / 3.145 GB, free: 6.996 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/6.369, allocations: 3.953 kB / 3.145 GB, free: 6.992 MB / 0.6042 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001025/6.37, allocations: 0.8619 MB / 3.146 GB, free: 6.117 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002729/6.371, allocations: 1.751 MB / 3.147 GB, free: 4.234 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/6.371, allocations: 8 kB / 3.147 GB, free: 4.227 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/6.371, allocations: 8 kB / 3.148 GB, free: 4.219 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007304/6.371, allocations: 171.7 kB / 3.148 GB, free: 4.051 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002563/6.372, allocations: 0.6094 MB / 3.148 GB, free: 3.418 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008453/6.373, allocations: 151.1 kB / 3.148 GB, free: 3.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.77e-05/6.373, allocations: 36 kB / 3.148 GB, free: 3.234 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/6.373, allocations: 4.625 kB / 3.148 GB, free: 3.23 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009094/6.374, allocations: 0.7404 MB / 3.149 GB, free: 2.488 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/6.374, allocations: 4 kB / 3.149 GB, free: 2.484 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/6.374, allocations: 11.94 kB / 3.149 GB, free: 2.473 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005529/6.374, allocations: 163.8 kB / 3.149 GB, free: 2.312 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/6.374, allocations: 15.92 kB / 3.149 GB, free: 2.297 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007023/6.375, allocations: 131.7 kB / 3.149 GB, free: 2.168 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.128e-05/6.375, allocations: 43.94 kB / 3.15 GB, free: 2.125 MB / 0.6042 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.0001289/6.375, allocations: 159 kB / 3.15 GB, free: 1.965 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/6.375, allocations: 98.78 kB / 3.15 GB, free: 1.867 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/6.376, allocations: 0.7353 MB / 3.15 GB, free: 1.117 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/6.376, allocations: 8 kB / 3.15 GB, free: 1.109 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/6.376, allocations: 0 / 3.15 GB, free: 1.109 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007842/6.377, allocations: 0.8397 MB / 3.151 GB, free: 212 kB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003136/6.38, allocations: 2.061 MB / 3.153 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/6.38, allocations: 4 kB / 3.153 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007548/6.381, allocations: 159.8 kB / 3.153 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/6.381, allocations: 4 kB / 3.153 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.033e-05/6.381, allocations: 23.98 kB / 3.154 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003065/6.381, allocations: 0.598 MB / 3.154 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/6.381, allocations: 7.938 kB / 3.154 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/6.383, allocations: 1.299 MB / 3.155 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003912/6.383, allocations: 263.6 kB / 3.156 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/6.383, allocations: 23.95 kB / 3.156 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006286/6.384, allocations: 71.94 kB / 3.156 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.531e-05/6.384, allocations: 44.5 kB / 3.156 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.571e-05/6.384, allocations: 20 kB / 3.156 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006772/6.385, allocations: 0.5306 MB / 3.156 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.9e-07/6.385, allocations: 0 / 3.156 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001921/6.387, allocations: 0.7523 MB / 3.157 GB, free: 10.09 MB / 0.6198 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.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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.004645/6.392, allocations: 4.243 MB / 3.161 GB, free: 5.695 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001974/6.394, allocations: 1.101 MB / 3.162 GB, free: 4.594 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/6.394, allocations: 3.938 kB / 3.162 GB, free: 4.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005031/6.394, allocations: 331 kB / 3.163 GB, free: 4.266 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/6.396, allocations: 485.5 kB / 3.163 GB, free: 3.797 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003681/6.4, allocations: 2.071 MB / 3.165 GB, free: 1.652 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000806/6.401, allocations: 1.199 MB / 3.166 GB, free: 432 kB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001364/6.402, allocations: 427.6 kB / 3.167 GB, free: 0 / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3849/6.787, allocations: 418.8 kB / 3.167 GB, free: 90.23 MB / 0.6198 GB Notification: Performance of SimCode: time 1.413e-06/6.787, allocations: 0 / 3.167 GB, free: 90.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1002/6.887, allocations: 59.98 MB / 3.226 GB, free: 89.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001549/6.888, allocations: 228 kB / 3.226 GB, free: 89.01 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.118/11.01, allocations: 0 / 3.226 GB, free: 89.01 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)