Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.838/1.838, allocations: 289.9 MB / 297.4 MB, free: 6.383 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.001045/0.001045, allocations: 168.9 kB / 366.7 MB, free: 1.676 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.782/1.782, allocations: 205.3 MB / 0.626 GB, free: 7.172 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008543/0.0008548, allocations: 87.19 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.564e-05/3.57e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8264/0.8265, allocations: 116.3 MB / 0.9733 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.964/6.791, allocations: 2.134 GB / 3.107 GB, free: 346.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003574/6.791, allocations: 95.56 kB / 3.107 GB, free: 346.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.982/8.773, allocations: 0.6213 GB / 3.728 GB, free: 89.88 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.885e-06/8.773, allocations: 7.922 kB / 3.728 GB, free: 89.87 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001037/8.773, allocations: 32 kB / 3.728 GB, free: 89.84 MB / 0.948 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.003637/8.777, allocations: 1.476 MB / 3.73 GB, free: 88.32 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/8.777, allocations: 8.031 kB / 3.73 GB, free: 88.31 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002013/8.779, allocations: 314.1 kB / 3.73 GB, free: 88 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002919/8.782, allocations: 1.179 MB / 3.731 GB, free: 86.78 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.711e-05/8.782, allocations: 35.78 kB / 3.731 GB, free: 86.75 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/8.782, allocations: 60 kB / 3.731 GB, free: 86.69 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001344/8.783, allocations: 0.8161 MB / 3.732 GB, free: 85.87 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/8.785, allocations: 0.9886 MB / 3.733 GB, free: 84.84 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.076e-05/8.785, allocations: 0 / 3.733 GB, free: 84.84 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.254e-05/8.785, allocations: 0 / 3.733 GB, free: 84.84 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.524e-05/8.785, allocations: 38 kB / 3.733 GB, free: 84.8 MB / 0.948 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.00476/8.79, allocations: 4.498 MB / 3.738 GB, free: 79.93 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007876/8.791, allocations: 0.6195 MB / 3.738 GB, free: 79.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003688/8.791, allocations: 333.4 kB / 3.739 GB, free: 78.98 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005021/8.791, allocations: 316.1 kB / 3.739 GB, free: 78.62 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/8.792, allocations: 39.12 kB / 3.739 GB, free: 78.57 MB / 0.948 GB Notification: Performance of pre-optimization done (n=68): time 4.078e-06/8.792, allocations: 4 kB / 3.739 GB, free: 78.56 MB / 0.948 GB Notification: Performance of matching and sorting (n=68): time 0.001572/8.793, allocations: 0.7399 MB / 3.74 GB, free: 77.82 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/8.793, allocations: 107.4 kB / 3.74 GB, free: 77.69 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006271/8.794, allocations: 0.5551 MB / 3.74 GB, free: 77.12 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.012e-05/8.794, allocations: 25.7 kB / 3.74 GB, free: 77.09 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002555/8.794, allocations: 0.5459 MB / 3.741 GB, free: 76.54 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/8.794, allocations: 232.5 kB / 3.741 GB, free: 76.31 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/8.794, allocations: 0 / 3.741 GB, free: 76.31 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.509e-05/8.794, allocations: 334 kB / 3.741 GB, free: 75.98 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/8.795, allocations: 253.4 kB / 3.742 GB, free: 75.73 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004482/8.795, allocations: 485.2 kB / 3.742 GB, free: 75.16 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006708/8.796, allocations: 420.2 kB / 3.742 GB, free: 74.75 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/8.796, allocations: 4 kB / 3.742 GB, free: 74.74 MB / 0.948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001295/8.797, allocations: 0.8585 MB / 3.743 GB, free: 73.88 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003553/8.798, allocations: 1.755 MB / 3.745 GB, free: 71.99 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/8.798, allocations: 4 kB / 3.745 GB, free: 71.98 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.898e-05/8.798, allocations: 8 kB / 3.745 GB, free: 71.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008847/8.799, allocations: 179.7 kB / 3.745 GB, free: 71.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002995/8.799, allocations: 0.6055 MB / 3.746 GB, free: 71.17 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/8.8, allocations: 111.3 kB / 3.746 GB, free: 71.06 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-05/8.8, allocations: 43.92 kB / 3.746 GB, free: 71.02 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/8.8, allocations: 8.625 kB / 3.746 GB, free: 71.01 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001147/8.801, allocations: 0.733 MB / 3.747 GB, free: 70.28 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/8.801, allocations: 7.984 kB / 3.747 GB, free: 70.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/8.801, allocations: 12 kB / 3.747 GB, free: 70.26 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000606/8.802, allocations: 167.7 kB / 3.747 GB, free: 70.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-05/8.802, allocations: 11.94 kB / 3.747 GB, free: 70.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009269/8.803, allocations: 103.4 kB / 3.747 GB, free: 69.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.005e-05/8.803, allocations: 35.98 kB / 3.747 GB, free: 69.95 MB / 0.948 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.0001984/8.803, allocations: 120.8 kB / 3.747 GB, free: 69.82 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001167/8.804, allocations: 0.7047 MB / 3.748 GB, free: 69.11 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/8.804, allocations: 90.88 kB / 3.748 GB, free: 69.02 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/8.806, allocations: 0.7582 MB / 3.749 GB, free: 68.25 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/8.806, allocations: 11.98 kB / 3.749 GB, free: 68.24 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/8.806, allocations: 0 / 3.749 GB, free: 68.24 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009788/8.807, allocations: 0.8786 MB / 3.75 GB, free: 67.29 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003074/8.81, allocations: 1.958 MB / 3.751 GB, free: 65.24 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/8.81, allocations: 4 kB / 3.751 GB, free: 65.24 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007537/8.811, allocations: 151.8 kB / 3.752 GB, free: 65.09 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.295e-05/8.811, allocations: 8.281 kB / 3.752 GB, free: 65.08 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.632e-05/8.811, allocations: 15.98 kB / 3.752 GB, free: 65.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002043/8.811, allocations: 0.6015 MB / 3.752 GB, free: 64.44 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/8.811, allocations: 4 kB / 3.752 GB, free: 64.44 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/8.813, allocations: 1.362 MB / 3.754 GB, free: 62.97 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003983/8.813, allocations: 243.8 kB / 3.754 GB, free: 62.71 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/8.813, allocations: 8 kB / 3.754 GB, free: 62.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006668/8.814, allocations: 63.78 kB / 3.754 GB, free: 62.64 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.269e-05/8.814, allocations: 48.45 kB / 3.754 GB, free: 62.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.302e-05/8.814, allocations: 27.98 kB / 3.754 GB, free: 62.57 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004782/8.814, allocations: 435.1 kB / 3.754 GB, free: 62.15 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/8.814, allocations: 0 / 3.754 GB, free: 62.15 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001728/8.816, allocations: 0.6622 MB / 3.755 GB, free: 61.48 MB / 0.948 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 () * 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.004408/8.821, allocations: 4.496 MB / 3.759 GB, free: 56.84 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00185/8.822, allocations: 1.038 MB / 3.76 GB, free: 55.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/8.822, allocations: 0 / 3.76 GB, free: 55.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004263/8.823, allocations: 326.9 kB / 3.761 GB, free: 55.48 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002257/8.825, allocations: 424.5 kB / 3.761 GB, free: 55.07 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003618/8.829, allocations: 1.999 MB / 3.763 GB, free: 53 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006131/8.829, allocations: 1.195 MB / 3.764 GB, free: 51.78 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001425/8.831, allocations: 399 kB / 3.765 GB, free: 51.38 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004559/8.831, allocations: 407.3 kB / 3.765 GB, free: 50.98 MB / 0.948 GB Notification: Performance of SimCode: time 8.91e-07/8.831, allocations: 0 / 3.765 GB, free: 50.98 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06786/8.899, allocations: 38.71 MB / 3.803 GB, free: 12.45 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000206/8.899, allocations: 193.6 kB / 3.803 GB, free: 12.24 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.788/12.69, allocations: 0 / 3.803 GB, free: 12.24 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)