Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.603/1.603, allocations: 287.4 MB / 302.6 MB, free: 8.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 189.8 kB / 371.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.4 MB / 0.6298 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007361/0.0007362, allocations: 104.3 kB / 0.7431 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.0003588, allocations: 15.88 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1835, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.5655/0.7491, allocations: 180.2 MB / 1.155 GB, free: 7.457 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01475/0.7639, allocations: 10.13 MB / 1.165 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001596/0.7655, allocations: 42.56 kB / 1.165 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001517/0.7671, allocations: 368.7 kB / 1.165 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.004397/0.7715, allocations: 1.314 MB / 1.166 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003069/0.7746, allocations: 0.8876 MB / 1.167 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.004767/0.7794, allocations: 3.181 MB / 1.17 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001873/0.7813, allocations: 0.9853 MB / 1.171 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003315/0.7846, allocations: 1.23 MB / 1.172 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002121/0.7868, allocations: 0.8953 MB / 1.173 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.000277/0.787, allocations: 52.62 kB / 1.173 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003665/0.7907, allocations: 1.032 MB / 1.174 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0006718/0.7914, allocations: 450.3 kB / 1.175 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0006689/0.7921, allocations: 273.3 kB / 1.175 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002731/0.7948, allocations: 1.632 MB / 1.177 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.7949, allocations: 0 / 1.177 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.794e-06/0.7949, allocations: 0 / 1.177 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.099e-05/0.7949, allocations: 0 / 1.177 GB, free: 7.852 MB / 0.7136 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.002918/0.7978, allocations: 1.442 MB / 1.178 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.7979, allocations: 10.88 kB / 1.178 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002124/0.7981, allocations: 155.8 kB / 1.178 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001719/0.7998, allocations: 318.7 kB / 1.178 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001872/0.8017, allocations: 0.9325 MB / 1.179 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.143e-05/0.8018, allocations: 75.72 kB / 1.179 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.8019, allocations: 106.6 kB / 1.18 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/0.8038, allocations: 1.176 MB / 1.181 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.8038, allocations: 0 / 1.181 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-05/0.8039, allocations: 38.69 kB / 1.181 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.175e-05/0.804, allocations: 39.47 kB / 1.181 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.8055, allocations: 0.9307 MB / 1.182 GB, free: 4.484 MB / 0.7136 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.005408/0.8109, allocations: 4.723 MB / 1.186 GB, free: 336 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.812, allocations: 0.7263 MB / 1.187 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006098/0.8127, allocations: 397.9 kB / 1.187 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000681/0.8134, allocations: 335.8 kB / 1.188 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.8134, allocations: 48.25 kB / 1.188 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 3.236e-06/0.8134, allocations: 0 / 1.188 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69): time 0.001818/0.8153, allocations: 1.016 MB / 1.189 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.8153, allocations: 57.03 kB / 1.189 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008796/0.8162, allocations: 0.7847 MB / 1.19 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.595e-05/0.8163, allocations: 40.58 kB / 1.19 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003526/0.8166, allocations: 0.5347 MB / 1.19 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.8168, allocations: 246.9 kB / 1.19 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.8169, allocations: 15.09 kB / 1.19 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.817, allocations: 341.6 kB / 1.191 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004477/0.8174, allocations: 287.6 kB / 1.191 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005957/0.818, allocations: 0.5228 MB / 1.192 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.8191, allocations: 0.7924 MB / 1.192 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.8191, allocations: 0 / 1.192 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001273/0.8204, allocations: 0.907 MB / 1.193 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.8205, allocations: 227.2 kB / 1.193 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.8205, allocations: 6.094 kB / 1.193 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.8205, allocations: 7.906 kB / 1.193 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008004/0.8213, allocations: 187.5 kB / 1.194 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003271/0.8217, allocations: 0.5993 MB / 1.194 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008431/0.8225, allocations: 135.4 kB / 1.194 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.575e-05/0.8226, allocations: 32.62 kB / 1.194 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.713e-06/0.8226, allocations: 7.594 kB / 1.194 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001107/0.8237, allocations: 0.7967 MB / 1.195 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.8238, allocations: 5.125 kB / 1.195 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.102e-06/0.8238, allocations: 6.219 kB / 1.195 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005598/0.8243, allocations: 170.8 kB / 1.195 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/0.8244, allocations: 15.22 kB / 1.195 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007116/0.8251, allocations: 119.3 kB / 1.195 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.522e-05/0.8251, allocations: 36.67 kB / 1.195 GB, free: 10.24 MB / 0.7292 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 (97): * Single equations (assignments): 96 * 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.0005247/0.8257, allocations: 406 kB / 1.196 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.8258, allocations: 104 kB / 1.196 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.8271, allocations: 0.8 MB / 1.197 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.8271, allocations: 9.125 kB / 1.197 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.8271, allocations: 0 / 1.197 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009795/0.8281, allocations: 0.8855 MB / 1.198 GB, free: 8.773 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003047/0.8311, allocations: 2.174 MB / 1.2 GB, free: 7.281 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.8311, allocations: 0 / 1.2 GB, free: 7.281 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006547/0.8318, allocations: 155.9 kB / 1.2 GB, free: 7.246 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.8318, allocations: 5.844 kB / 1.2 GB, free: 7.246 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.824e-05/0.8319, allocations: 23.95 kB / 1.2 GB, free: 7.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002659/0.8321, allocations: 0.6044 MB / 1.2 GB, free: 6.621 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.8322, allocations: 6.875 kB / 1.2 GB, free: 6.617 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.8338, allocations: 1.328 MB / 1.202 GB, free: 5.82 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000336/0.8341, allocations: 260.2 kB / 1.202 GB, free: 5.605 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.8342, allocations: 21.03 kB / 1.202 GB, free: 5.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005694/0.8348, allocations: 76.94 kB / 1.202 GB, free: 5.547 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.137e-05/0.8349, allocations: 46.66 kB / 1.202 GB, free: 5.523 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.21e-05/0.8349, allocations: 22.5 kB / 1.202 GB, free: 5.52 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005925/0.8355, allocations: 0.5368 MB / 1.203 GB, free: 5.215 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8355, allocations: 0 / 1.203 GB, free: 5.215 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001218/0.8368, allocations: 0.5683 MB / 1.203 GB, free: 4.852 MB / 0.7292 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 (69): * Single equations (assignments): 68 * 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.0023/0.8391, allocations: 1.995 MB / 1.205 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001939/0.841, allocations: 1.173 MB / 1.206 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.841, allocations: 4 kB / 1.206 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005434/0.8416, allocations: 366.9 kB / 1.207 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002236/0.8438, allocations: 473.9 kB / 1.207 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00882/0.8527, allocations: 6.457 MB / 1.213 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007159/0.8534, allocations: 1.179 MB / 1.215 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001215/0.8546, allocations: 360.3 kB / 1.215 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005736/0.8552, allocations: 435.3 kB / 1.215 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.8552, allocations: 0 / 1.215 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2738/1.129, allocations: 26.35 MB / 1.241 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002545/1.129, allocations: 262.2 kB / 1.241 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.211/4.34, allocations: 0 / 1.241 GB, free: 13.76 MB / 0.7761 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)