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 3.041/3.041, allocations: 287.5 MB / 302.4 MB, free: 8.254 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.001453/0.001453, allocations: 172.5 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.278/2.278, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0009962/0.0009961, allocations: 93.45 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005312/0.0005315, allocations: 11.42 kB / 0.8659 GB, free: 139.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2338, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.9561/1.19, allocations: 180.2 MB / 1.154 GB, free: 7.574 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02281/1.213, allocations: 10.12 MB / 1.164 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001877/1.215, allocations: 37.75 kB / 1.164 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002064/1.217, allocations: 374.2 kB / 1.165 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.006134/1.223, allocations: 1.322 MB / 1.166 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.00463/1.228, allocations: 0.8835 MB / 1.167 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.006695/1.234, allocations: 3.165 MB / 1.17 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002442/1.237, allocations: 0.8782 MB / 1.171 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00487/1.242, allocations: 1.234 MB / 1.172 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002806/1.245, allocations: 0.8952 MB / 1.173 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0004534/1.245, allocations: 53.44 kB / 1.173 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004774/1.25, allocations: 1.03 MB / 1.174 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001257/1.251, allocations: 455.2 kB / 1.174 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0008426/1.252, allocations: 272.9 kB / 1.175 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004328/1.256, allocations: 1.615 MB / 1.176 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/1.257, allocations: 0 / 1.176 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.925e-06/1.257, allocations: 4.5 kB / 1.176 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.488e-05/1.257, allocations: 0 / 1.176 GB, free: 8.004 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.004686/1.261, allocations: 1.46 MB / 1.178 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/1.261, allocations: 14.86 kB / 1.178 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005125/1.262, allocations: 155.8 kB / 1.178 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00272/1.265, allocations: 318.8 kB / 1.178 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003139/1.268, allocations: 0.8878 MB / 1.179 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.042e-05/1.268, allocations: 81.5 kB / 1.179 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002555/1.268, allocations: 107 kB / 1.179 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003087/1.271, allocations: 1.167 MB / 1.18 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.489e-05/1.271, allocations: 10.97 kB / 1.18 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/1.272, allocations: 40.66 kB / 1.18 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-05/1.272, allocations: 34.59 kB / 1.18 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002681/1.274, allocations: 0.9351 MB / 1.181 GB, free: 4.668 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.009138/1.284, allocations: 4.712 MB / 1.186 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/1.285, allocations: 0.7359 MB / 1.187 GB, free: 136 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009534/1.286, allocations: 400 kB / 1.187 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000965/1.287, allocations: 331.8 kB / 1.187 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.006e-05/1.287, allocations: 37.88 kB / 1.187 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 3.517e-06/1.287, allocations: 7.938 kB / 1.187 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69): time 0.003201/1.291, allocations: 1.014 MB / 1.188 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/1.291, allocations: 61.55 kB / 1.188 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/1.292, allocations: 0.7854 MB / 1.189 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001498/1.292, allocations: 46.89 kB / 1.189 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000582/1.293, allocations: 0.5314 MB / 1.19 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003878/1.293, allocations: 250.1 kB / 1.19 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.28e-05/1.294, allocations: 14.94 kB / 1.19 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000188/1.294, allocations: 336.8 kB / 1.19 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008302/1.295, allocations: 291 kB / 1.191 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/1.296, allocations: 0.5044 MB / 1.191 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/1.297, allocations: 381 kB / 1.191 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/1.297, allocations: 0 / 1.191 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002554/1.299, allocations: 0.9139 MB / 1.192 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002162/1.3, allocations: 219.4 kB / 1.193 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/1.3, allocations: 9.5 kB / 1.193 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.963e-05/1.3, allocations: 12.23 kB / 1.193 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/1.301, allocations: 187.9 kB / 1.193 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005539/1.302, allocations: 0.5952 MB / 1.193 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/1.304, allocations: 135.5 kB / 1.193 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/1.304, allocations: 35.19 kB / 1.193 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/1.304, allocations: 2 kB / 1.193 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002177/1.306, allocations: 0.7961 MB / 1.194 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/1.306, allocations: 5.938 kB / 1.194 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/1.306, allocations: 7.938 kB / 1.194 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/1.307, allocations: 171.9 kB / 1.194 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.901e-05/1.307, allocations: 16.48 kB / 1.194 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/1.309, allocations: 121.8 kB / 1.195 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.725e-05/1.309, allocations: 36.61 kB / 1.195 GB, free: 10.75 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.0009611/1.31, allocations: 407.7 kB / 1.195 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002955/1.31, allocations: 96.22 kB / 1.195 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/1.313, allocations: 0.8078 MB / 1.196 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/1.313, allocations: 7.875 kB / 1.196 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.649e-06/1.313, allocations: 3.953 kB / 1.196 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001792/1.315, allocations: 0.885 MB / 1.197 GB, free: 9.285 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005881/1.32, allocations: 2.172 MB / 1.199 GB, free: 7.797 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/1.321, allocations: 4.812 kB / 1.199 GB, free: 7.793 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001441/1.322, allocations: 152.1 kB / 1.199 GB, free: 7.762 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.34e-05/1.322, allocations: 5.844 kB / 1.199 GB, free: 7.762 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.282e-05/1.322, allocations: 19.92 kB / 1.199 GB, free: 7.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004878/1.323, allocations: 0.6005 MB / 1.2 GB, free: 7.145 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/1.323, allocations: 3 kB / 1.2 GB, free: 7.145 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003223/1.326, allocations: 1.331 MB / 1.201 GB, free: 6.34 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008503/1.327, allocations: 262.3 kB / 1.201 GB, free: 6.121 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002373/1.327, allocations: 15.75 kB / 1.201 GB, free: 6.113 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/1.328, allocations: 76.25 kB / 1.201 GB, free: 6.07 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/1.328, allocations: 50.98 kB / 1.201 GB, free: 6.043 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.936e-05/1.328, allocations: 22.88 kB / 1.201 GB, free: 6.039 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00115/1.33, allocations: 0.5364 MB / 1.202 GB, free: 5.73 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.61e-07/1.33, allocations: 0 / 1.202 GB, free: 5.73 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002324/1.332, allocations: 0.5644 MB / 1.202 GB, free: 5.566 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.004412/1.336, allocations: 2.004 MB / 1.204 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003793/1.34, allocations: 1.169 MB / 1.206 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/1.34, allocations: 8.062 kB / 1.206 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001217/1.342, allocations: 370.9 kB / 1.206 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004592/1.346, allocations: 488 kB / 1.206 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0259/1.372, allocations: 6.447 MB / 1.213 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001937/1.374, allocations: 1.175 MB / 1.214 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003372/1.378, allocations: 364 kB / 1.214 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001859/1.379, allocations: 439.3 kB / 1.215 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of SimCode: time 1.563e-06/1.38, allocations: 0 / 1.215 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.117/1.497, allocations: 26.35 MB / 1.24 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003656/1.497, allocations: 265.8 kB / 1.241 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.57/5.067, allocations: 0 / 1.241 GB, free: 14.47 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)