Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.421/1.421, allocations: 249.5 MB / 257 MB, free: 6.824 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 179.7 kB / 316.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.3 MB / 0.5671 GB, free: 15.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008667/0.0008667, allocations: 85.23 kB / 0.6714 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.641e-05/2.643e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2271, allocations: 106.4 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.013/6.241, allocations: 2.252 GB / 3.137 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/6.241, allocations: 98.81 kB / 3.137 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.211/8.451, allocations: 0.604 GB / 3.741 GB, free: 164 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.262e-06/8.451, allocations: 0 / 3.741 GB, free: 164 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.149e-05/8.452, allocations: 42.38 kB / 3.741 GB, free: 164 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.002506/8.454, allocations: 1.479 MB / 3.743 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/8.454, allocations: 10.47 kB / 3.743 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001614/8.456, allocations: 318.8 kB / 3.743 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00222/8.458, allocations: 1.192 MB / 3.744 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/8.458, allocations: 36.22 kB / 3.744 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/8.458, allocations: 65.2 kB / 3.744 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001245/8.459, allocations: 0.8301 MB / 3.745 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/8.461, allocations: 0.9756 MB / 3.746 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/8.461, allocations: 0 / 3.746 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.717e-05/8.461, allocations: 3.781 kB / 3.746 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.33e-05/8.461, allocations: 34.72 kB / 3.746 GB, free: 161.2 MB / 0.8698 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.003811/8.465, allocations: 4.328 MB / 3.75 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007112/8.466, allocations: 0.6334 MB / 3.751 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003612/8.466, allocations: 334.5 kB / 3.751 GB, free: 157 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004413/8.466, allocations: 308 kB / 3.752 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/8.466, allocations: 46.69 kB / 3.752 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=71): time 2.074e-06/8.466, allocations: 0 / 3.752 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71): time 0.001443/8.468, allocations: 0.7594 MB / 3.752 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/8.468, allocations: 125.8 kB / 3.752 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005407/8.468, allocations: 0.5549 MB / 3.753 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.991e-05/8.468, allocations: 25.7 kB / 3.753 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/8.469, allocations: 0.5293 MB / 3.754 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/8.469, allocations: 238.3 kB / 3.754 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/8.469, allocations: 0 / 3.754 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.614e-05/8.469, allocations: 344.1 kB / 3.754 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003095/8.469, allocations: 252.8 kB / 3.754 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004049/8.47, allocations: 481.5 kB / 3.755 GB, free: 154.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006799/8.47, allocations: 428.2 kB / 3.755 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/8.47, allocations: 2.156 kB / 3.755 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00127/8.472, allocations: 0.876 MB / 3.756 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002638/8.472, allocations: 1.577 MB / 3.758 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/8.472, allocations: 3.875 kB / 3.758 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/8.472, allocations: 7.812 kB / 3.758 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008145/8.473, allocations: 194.1 kB / 3.758 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002683/8.473, allocations: 0.5994 MB / 3.758 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000881/8.474, allocations: 118.5 kB / 3.758 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.685e-05/8.474, allocations: 36.77 kB / 3.758 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/8.474, allocations: 4.906 kB / 3.758 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001134/8.475, allocations: 0.7501 MB / 3.759 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/8.475, allocations: 3.594 kB / 3.759 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/8.475, allocations: 14.34 kB / 3.759 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005789/8.476, allocations: 174.6 kB / 3.759 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/8.476, allocations: 6.875 kB / 3.759 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007835/8.477, allocations: 109.1 kB / 3.76 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.473e-05/8.477, allocations: 38.27 kB / 3.76 GB, free: 150.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (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.0001648/8.477, allocations: 127.1 kB / 3.76 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001067/8.478, allocations: 0.7275 MB / 3.76 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/8.478, allocations: 93.44 kB / 3.76 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/8.479, allocations: 0.7946 MB / 3.761 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/8.479, allocations: 7.875 kB / 3.761 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/8.479, allocations: 0 / 3.761 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009955/8.48, allocations: 0.8998 MB / 3.762 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002959/8.483, allocations: 1.999 MB / 3.764 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/8.483, allocations: 4 kB / 3.764 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007176/8.484, allocations: 159.3 kB / 3.764 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/8.484, allocations: 11.95 kB / 3.764 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.457e-05/8.484, allocations: 15.92 kB / 3.764 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001772/8.484, allocations: 0.5899 MB / 3.765 GB, free: 146 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/8.484, allocations: 10 kB / 3.765 GB, free: 146 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/8.486, allocations: 1.395 MB / 3.766 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003669/8.486, allocations: 251.8 kB / 3.766 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/8.486, allocations: 12 kB / 3.766 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006447/8.487, allocations: 69.7 kB / 3.767 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.264e-05/8.487, allocations: 51.81 kB / 3.767 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.544e-05/8.487, allocations: 27.98 kB / 3.767 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004335/8.488, allocations: 431.1 kB / 3.767 GB, free: 143.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/8.488, allocations: 3.938 kB / 3.767 GB, free: 143.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001623/8.489, allocations: 0.6739 MB / 3.768 GB, free: 143 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (limPID.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],senVolFlo.d,senTraSubPeo.C,senTraSubFre.C) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 70 * 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.004058/8.493, allocations: 4.53 MB / 3.772 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001635/8.495, allocations: 1.06 MB / 3.773 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/8.495, allocations: 6.125 kB / 3.773 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004032/8.495, allocations: 329.9 kB / 3.773 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001992/8.497, allocations: 432.1 kB / 3.774 GB, free: 137 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003994/8.501, allocations: 2.077 MB / 3.776 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000738/8.502, allocations: 1.196 MB / 3.777 GB, free: 133.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001456/8.504, allocations: 398.4 kB / 3.777 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005059/8.504, allocations: 415.3 kB / 3.778 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of SimCode: time 9.61e-07/8.504, allocations: 0 / 3.778 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06155/8.566, allocations: 38.93 MB / 3.816 GB, free: 94.34 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/8.566, allocations: 190.1 kB / 3.816 GB, free: 94.14 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.323/11.89, allocations: 0 / 3.816 GB, free: 94.14 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)