Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.809/1.809, allocations: 288.4 MB / 303.6 MB, free: 8.082 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.001188/0.001188, allocations: 189.3 kB / 372.3 MB, free: 10.11 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.513/1.513, allocations: 205.4 MB / 0.631 GB, free: 9.914 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.0008624/0.0008625, allocations: 94.22 kB / 0.7444 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004353/0.0004355, allocations: 12.59 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1852, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.5999/0.7851, allocations: 180.2 MB / 1.156 GB, free: 6.625 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01423/0.7994, allocations: 10.13 MB / 1.166 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001538/0.801, allocations: 43.09 kB / 1.166 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.8025, allocations: 399.4 kB / 1.166 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.004924/0.8075, allocations: 1.562 MB / 1.168 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003065/0.8106, allocations: 0.9229 MB / 1.169 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.004571/0.8151, allocations: 3.186 MB / 1.172 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/0.8168, allocations: 0.9925 MB / 1.173 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003225/0.82, allocations: 1.32 MB / 1.174 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001719/0.8217, allocations: 0.9006 MB / 1.175 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.8219, allocations: 53.62 kB / 1.175 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003595/0.8255, allocations: 1.868 MB / 1.177 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0005471/0.826, allocations: 447.8 kB / 1.177 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0007343/0.8268, allocations: 0.6233 MB / 1.178 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002065/0.8289, allocations: 1.706 MB / 1.18 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.8289, allocations: 0 / 1.18 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8289, allocations: 0 / 1.18 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.285e-05/0.8289, allocations: 3.281 kB / 1.18 GB, free: 5.715 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.002576/0.8315, allocations: 1.448 MB / 1.181 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.8316, allocations: 11.55 kB / 1.181 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001837/0.8317, allocations: 158.8 kB / 1.181 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001608/0.8334, allocations: 311.8 kB / 1.182 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.835, allocations: 0.9278 MB / 1.183 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.767e-05/0.8351, allocations: 78.72 kB / 1.183 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.8352, allocations: 108.8 kB / 1.183 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.8371, allocations: 1.172 MB / 1.184 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.8371, allocations: 2.469 kB / 1.184 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-05/0.8372, allocations: 40.41 kB / 1.184 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.945e-05/0.8373, allocations: 35.09 kB / 1.184 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001439/0.8387, allocations: 0.9353 MB / 1.185 GB, free: 2.34 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.005258/0.844, allocations: 4.714 MB / 1.189 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.8452, allocations: 0.734 MB / 1.19 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006019/0.8458, allocations: 395.4 kB / 1.191 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006625/0.8465, allocations: 335.2 kB / 1.191 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.044e-05/0.8466, allocations: 48.28 kB / 1.191 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 3.146e-06/0.8466, allocations: 0 / 1.191 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69): time 0.002153/0.8487, allocations: 1.016 MB / 1.192 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.8488, allocations: 56.53 kB / 1.192 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.8499, allocations: 0.7824 MB / 1.193 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.877e-05/0.85, allocations: 47.11 kB / 1.193 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004765/0.8505, allocations: 0.5352 MB / 1.193 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003191/0.8508, allocations: 246.1 kB / 1.194 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.921e-05/0.8509, allocations: 14.84 kB / 1.194 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.851, allocations: 344.8 kB / 1.194 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005005/0.8515, allocations: 290.8 kB / 1.194 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006879/0.8522, allocations: 0.5136 MB / 1.195 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.8533, allocations: 0.7924 MB / 1.195 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.8534, allocations: 3.312 kB / 1.195 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001441/0.8548, allocations: 0.9032 MB / 1.196 GB, free: 9.625 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001392/0.855, allocations: 228.3 kB / 1.196 GB, free: 9.352 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.855, allocations: 5.25 kB / 1.197 GB, free: 9.352 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.855, allocations: 7.781 kB / 1.197 GB, free: 9.352 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008587/0.8559, allocations: 187.2 kB / 1.197 GB, free: 9.309 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003717/0.8562, allocations: 0.6061 MB / 1.197 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009434/0.8572, allocations: 124.7 kB / 1.197 GB, free: 8.629 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.068e-05/0.8573, allocations: 39.55 kB / 1.197 GB, free: 8.617 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.675e-06/0.8573, allocations: 2.938 kB / 1.197 GB, free: 8.617 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001256/0.8586, allocations: 0.7923 MB / 1.198 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.8586, allocations: 5.344 kB / 1.198 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.8586, allocations: 8.406 kB / 1.198 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006235/0.8592, allocations: 167.5 kB / 1.198 GB, free: 8.195 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.8593, allocations: 16.5 kB / 1.198 GB, free: 8.188 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009196/0.8602, allocations: 126 kB / 1.199 GB, free: 8.109 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.444e-05/0.8603, allocations: 31.28 kB / 1.199 GB, free: 8.105 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.0008406/0.8611, allocations: 406.6 kB / 1.199 GB, free: 7.785 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.8613, allocations: 100.3 kB / 1.199 GB, free: 7.734 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.8627, allocations: 0.8043 MB / 1.2 GB, free: 7.27 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.8628, allocations: 9.75 kB / 1.2 GB, free: 7.266 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.8628, allocations: 4 kB / 1.2 GB, free: 7.262 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001116/0.8639, allocations: 0.8871 MB / 1.201 GB, free: 6.633 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003383/0.8673, allocations: 2.167 MB / 1.203 GB, free: 5.141 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.8673, allocations: 2.625 kB / 1.203 GB, free: 5.141 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007559/0.8681, allocations: 168.8 kB / 1.203 GB, free: 5.094 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.8681, allocations: 2.5 kB / 1.203 GB, free: 5.094 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.027e-05/0.8682, allocations: 16.66 kB / 1.203 GB, free: 5.086 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003049/0.8685, allocations: 0.6042 MB / 1.204 GB, free: 4.477 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.8685, allocations: 6.875 kB / 1.204 GB, free: 4.473 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.8702, allocations: 1.324 MB / 1.205 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004005/0.8706, allocations: 259.6 kB / 1.205 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.8707, allocations: 23.98 kB / 1.205 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006341/0.8714, allocations: 69.61 kB / 1.205 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.314e-05/0.8715, allocations: 48.5 kB / 1.205 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.101e-05/0.8715, allocations: 23.98 kB / 1.205 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007699/0.8723, allocations: 0.5302 MB / 1.206 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8723, allocations: 4 kB / 1.206 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001928/0.8743, allocations: 0.5648 MB / 1.206 GB, free: 1.832 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.002874/0.8772, allocations: 2.004 MB / 1.208 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002385/0.8796, allocations: 1.165 MB / 1.209 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.8796, allocations: 7.938 kB / 1.209 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0005771/0.8802, allocations: 366.9 kB / 1.21 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002516/0.8827, allocations: 496.5 kB / 1.21 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009103/0.8918, allocations: 6.451 MB / 1.217 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006803/0.8925, allocations: 1.175 MB / 1.218 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0012/0.8937, allocations: 360 kB / 1.218 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005369/0.8943, allocations: 431.3 kB / 1.218 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of SimCode: time 8.72e-07/0.8943, allocations: 0 / 1.218 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6756/1.57, allocations: 26.63 MB / 1.245 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002592/1.57, allocations: 277.5 kB / 1.245 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.571/5.142, allocations: 0 / 1.245 GB, free: 10.46 MB / 0.7761 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)