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.001532/0.001532, allocations: 183.5 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5545/0.5545, allocations: 91.98 MB / 108.5 MB, free: 13.07 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.666/1.666, allocations: 223.2 MB / 354.3 MB, free: 12.21 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.0009021/0.0009019, allocations: 103.9 kB / 427.4 MB, free: 3.961 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004637/0.0004637, allocations: 12 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1911, allocations: 72.3 MB / 0.5689 GB, free: 1.848 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.819/6.01, allocations: 1.931 GB / 2.5 GB, free: 151.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004087/6.01, allocations: 96.39 kB / 2.5 GB, free: 151.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.93/8.941, allocations: 0.6389 GB / 3.139 GB, free: 98.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.174e-06/8.941, allocations: 0 / 3.139 GB, free: 98.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001469/8.941, allocations: 40.8 kB / 3.139 GB, free: 98.5 MB / 0.6198 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.946, allocations: 1.652 MB / 3.141 GB, free: 97.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/8.946, allocations: 9.406 kB / 3.141 GB, free: 97.9 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002719/8.946, allocations: 157.2 kB / 3.141 GB, free: 97.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001988/8.948, allocations: 317 kB / 3.141 GB, free: 97.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003556/8.951, allocations: 1.199 MB / 3.143 GB, free: 97.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/8.952, allocations: 83.42 kB / 3.143 GB, free: 97.51 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002221/8.952, allocations: 101.9 kB / 3.143 GB, free: 97.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002775/8.955, allocations: 1.153 MB / 3.144 GB, free: 97.37 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.904e-05/8.955, allocations: 1.344 kB / 3.144 GB, free: 97.37 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/8.955, allocations: 46.84 kB / 3.144 GB, free: 97.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.465e-05/8.955, allocations: 39.25 kB / 3.144 GB, free: 97.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002209/8.957, allocations: 0.9122 MB / 3.145 GB, free: 97.36 MB / 0.6198 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.007919/8.965, allocations: 4.729 MB / 3.149 GB, free: 94.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/8.966, allocations: 0.7087 MB / 3.15 GB, free: 94.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005443/8.967, allocations: 316 kB / 3.15 GB, free: 94.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/8.967, allocations: 42.78 kB / 3.151 GB, free: 94.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=68): time 2.625e-06/8.967, allocations: 0 / 3.151 GB, free: 94.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=68): time 0.002226/8.969, allocations: 0.9769 MB / 3.151 GB, free: 94.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/8.969, allocations: 116.2 kB / 3.152 GB, free: 94.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/8.97, allocations: 0.6955 MB / 3.152 GB, free: 94.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.552e-05/8.97, allocations: 41.3 kB / 3.152 GB, free: 94 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000365/8.971, allocations: 0.5308 MB / 3.153 GB, free: 93.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002048/8.971, allocations: 242.5 kB / 3.153 GB, free: 93.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/8.971, allocations: 14.97 kB / 3.153 GB, free: 93.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.815e-05/8.971, allocations: 340.7 kB / 3.153 GB, free: 93.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005226/8.972, allocations: 284.1 kB / 3.154 GB, free: 93.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006938/8.972, allocations: 0.5156 MB / 3.154 GB, free: 93.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00058/8.973, allocations: 366.9 kB / 3.155 GB, free: 93.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/8.973, allocations: 3.719 kB / 3.155 GB, free: 93.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001555/8.974, allocations: 0.8938 MB / 3.155 GB, free: 93.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005888/8.975, allocations: 1.743 MB / 3.157 GB, free: 91.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/8.975, allocations: 2.875 kB / 3.157 GB, free: 91.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.725e-05/8.975, allocations: 15.06 kB / 3.157 GB, free: 91.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008702/8.976, allocations: 177.8 kB / 3.157 GB, free: 91.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000402/8.976, allocations: 0.5975 MB / 3.158 GB, free: 90.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/8.978, allocations: 152.1 kB / 3.158 GB, free: 90.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.031e-05/8.978, allocations: 37.12 kB / 3.158 GB, free: 90.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/8.978, allocations: 5.438 kB / 3.158 GB, free: 90.61 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001189/8.979, allocations: 0.7784 MB / 3.159 GB, free: 90.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/8.979, allocations: 6.781 kB / 3.159 GB, free: 90.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/8.979, allocations: 11.77 kB / 3.159 GB, free: 90.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006164/8.98, allocations: 165.9 kB / 3.159 GB, free: 90.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/8.98, allocations: 10.16 kB / 3.159 GB, free: 90.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008902/8.981, allocations: 142.8 kB / 3.159 GB, free: 90.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-05/8.981, allocations: 31.16 kB / 3.159 GB, free: 90.57 MB / 0.6198 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 () * Number of clocked 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.0006884/8.981, allocations: 409.8 kB / 3.16 GB, free: 90.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/8.981, allocations: 98.31 kB / 3.16 GB, free: 90.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/8.983, allocations: 0.7846 MB / 3.16 GB, free: 90.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/8.983, allocations: 7.125 kB / 3.16 GB, free: 90.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/8.983, allocations: 0 / 3.16 GB, free: 90.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009391/8.984, allocations: 0.8651 MB / 3.161 GB, free: 89.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003234/8.987, allocations: 2.101 MB / 3.163 GB, free: 89.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/8.987, allocations: 0 / 3.163 GB, free: 89.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007203/8.988, allocations: 160.3 kB / 3.163 GB, free: 89.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/8.988, allocations: 7.703 kB / 3.163 GB, free: 89.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-05/8.988, allocations: 17.47 kB / 3.163 GB, free: 89.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002331/8.988, allocations: 0.5959 MB / 3.164 GB, free: 88.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/8.988, allocations: 7.609 kB / 3.164 GB, free: 88.83 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/8.99, allocations: 1.361 MB / 3.165 GB, free: 88.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004671/8.99, allocations: 255.5 kB / 3.166 GB, free: 88.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/8.99, allocations: 17.94 kB / 3.166 GB, free: 88.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006731/8.991, allocations: 76.61 kB / 3.166 GB, free: 88.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.287e-05/8.991, allocations: 46.2 kB / 3.166 GB, free: 88.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.723e-05/8.991, allocations: 28.86 kB / 3.166 GB, free: 88.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006621/8.992, allocations: 0.54 MB / 3.166 GB, free: 88.14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.7e-07/8.992, allocations: 0 / 3.166 GB, free: 88.14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002376/8.994, allocations: 0.7484 MB / 3.167 GB, free: 88.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 () * 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 (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.004792/8.999, allocations: 4.286 MB / 3.171 GB, free: 86.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002083/9.001, allocations: 1.12 MB / 3.172 GB, free: 86.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/9.001, allocations: 1.969 kB / 3.172 GB, free: 86.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005329/9.002, allocations: 355.5 kB / 3.173 GB, free: 86.07 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002234/9.004, allocations: 474 kB / 3.173 GB, free: 86.06 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009614/9.014, allocations: 9.309 MB / 3.182 GB, free: 80.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006559/9.014, allocations: 1.193 MB / 3.183 GB, free: 80.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001297/9.016, allocations: 340.6 kB / 3.184 GB, free: 80.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005451/9.016, allocations: 436.4 kB / 3.184 GB, free: 80.25 MB / 0.6198 GB Notification: Performance of SimCode: time 1.042e-06/9.016, allocations: 0 / 3.184 GB, free: 80.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08765/9.104, allocations: 53.81 MB / 3.237 GB, free: 78.33 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/9.104, allocations: 259.8 kB / 3.237 GB, free: 78 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.757/12.86, allocations: 0 / 3.237 GB, free: 78 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)