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.641/1.641, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 180.1 kB / 327 MB, free: 2.105 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.91/1.91, allocations: 205.4 MB / 0.578 GB, free: 20.15 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.0008056/0.0008056, allocations: 87.61 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004784/0.0004785, allocations: 9.312 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2774, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.8632/1.141, allocations: 193.4 MB / 1.09 GB, free: 1.617 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01503/1.156, allocations: 10.9 MB / 1.1 GB, free: 1.387 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002251/1.158, allocations: 38.22 kB / 1.1 GB, free: 1.387 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001846/1.16, allocations: 445.1 kB / 1.101 GB, free: 1.383 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006086/1.166, allocations: 1.686 MB / 1.102 GB, free: 1.293 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003667/1.17, allocations: 1.065 MB / 1.104 GB, free: 1.262 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005545/1.175, allocations: 3.811 MB / 1.107 GB, free: 1.25 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002191/1.177, allocations: 1.009 MB / 1.108 GB, free: 1.09 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004269/1.182, allocations: 1.388 MB / 1.11 GB, free: 1.07 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00291/1.185, allocations: 0.949 MB / 1.111 GB, free: 1.066 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001883/1.185, allocations: 58.94 kB / 1.111 GB, free: 1.062 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004656/1.19, allocations: 1.905 MB / 1.112 GB, free: 1.039 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006404/1.19, allocations: 463.5 kB / 1.113 GB, free: 1.031 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001131/1.191, allocations: 0.6576 MB / 1.114 GB, free: 1 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004208/1.196, allocations: 2.369 MB / 1.116 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/1.196, allocations: 0 / 1.116 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.864e-06/1.196, allocations: 0 / 1.116 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.58e-05/1.196, allocations: 0 / 1.116 GB, free: 0.8594 MB / 0.698 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.002539/1.198, allocations: 1.451 MB / 1.117 GB, free: 16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/1.198, allocations: 9.406 kB / 1.117 GB, free: 16 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001909/1.198, allocations: 158.1 kB / 1.117 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001661/1.2, allocations: 325.3 kB / 1.118 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/1.202, allocations: 0.9297 MB / 1.119 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.589e-05/1.202, allocations: 78.36 kB / 1.119 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/1.202, allocations: 112.3 kB / 1.119 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002276/1.204, allocations: 1.181 MB / 1.12 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/1.204, allocations: 0 / 1.12 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.251e-05/1.205, allocations: 43.06 kB / 1.12 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.321e-05/1.205, allocations: 42.27 kB / 1.12 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/1.206, allocations: 0.9574 MB / 1.121 GB, free: 15.35 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.005975/1.212, allocations: 4.525 MB / 1.125 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/1.213, allocations: 0.7594 MB / 1.126 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005842/1.214, allocations: 409.6 kB / 1.127 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000678/1.215, allocations: 332.1 kB / 1.127 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.532e-05/1.215, allocations: 45.53 kB / 1.127 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=72): time 3.186e-06/1.215, allocations: 0 / 1.127 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72): time 0.00216/1.217, allocations: 1.051 MB / 1.128 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/1.217, allocations: 60.94 kB / 1.128 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/1.218, allocations: 0.7912 MB / 1.129 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.406e-05/1.219, allocations: 39.58 kB / 1.129 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005302/1.219, allocations: 0.5265 MB / 1.129 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003362/1.219, allocations: 263.5 kB / 1.13 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/1.219, allocations: 14.28 kB / 1.13 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002076/1.22, allocations: 335.7 kB / 1.13 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007009/1.22, allocations: 302.3 kB / 1.13 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/1.222, allocations: 0.4995 MB / 1.131 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/1.223, allocations: 0.8027 MB / 1.131 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/1.223, allocations: 1.656 kB / 1.131 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002022/1.225, allocations: 0.9284 MB / 1.132 GB, free: 11 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001953/1.226, allocations: 213.3 kB / 1.133 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/1.226, allocations: 6 kB / 1.133 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/1.226, allocations: 12.84 kB / 1.133 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009235/1.227, allocations: 184.7 kB / 1.133 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000519/1.227, allocations: 0.5998 MB / 1.133 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/1.228, allocations: 133.5 kB / 1.133 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.142e-05/1.228, allocations: 39.2 kB / 1.134 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/1.228, allocations: 2.156 kB / 1.134 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001363/1.23, allocations: 0.8122 MB / 1.134 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/1.23, allocations: 7.531 kB / 1.134 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/1.23, allocations: 8.562 kB / 1.134 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006393/1.23, allocations: 177.7 kB / 1.134 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/1.231, allocations: 7.625 kB / 1.134 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008154/1.231, allocations: 118.5 kB / 1.135 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.058e-05/1.231, allocations: 36.77 kB / 1.135 GB, free: 10.06 MB / 0.7136 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007344/1.232, allocations: 406.2 kB / 1.135 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/1.232, allocations: 104.5 kB / 1.135 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/1.234, allocations: 0.8284 MB / 1.136 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/1.234, allocations: 11.27 kB / 1.136 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/1.234, allocations: 0 / 1.136 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00109/1.235, allocations: 0.9089 MB / 1.137 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003704/1.239, allocations: 2.205 MB / 1.139 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/1.239, allocations: 6.969 kB / 1.139 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007563/1.239, allocations: 168.7 kB / 1.139 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/1.239, allocations: 3.031 kB / 1.139 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.798e-05/1.239, allocations: 26.62 kB / 1.139 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003349/1.24, allocations: 0.5925 MB / 1.14 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/1.24, allocations: 5.5 kB / 1.14 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/1.242, allocations: 1.367 MB / 1.141 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000478/1.242, allocations: 274.6 kB / 1.141 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/1.242, allocations: 16 kB / 1.141 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006567/1.243, allocations: 66.09 kB / 1.141 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.819e-05/1.243, allocations: 53.34 kB / 1.141 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.494e-05/1.243, allocations: 32.55 kB / 1.142 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007518/1.244, allocations: 0.5358 MB / 1.142 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/1.244, allocations: 0 / 1.142 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001552/1.245, allocations: 0.5876 MB / 1.143 GB, free: 7.094 MB / 0.7136 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003001/1.248, allocations: 2.046 MB / 1.145 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002241/1.251, allocations: 1.202 MB / 1.146 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.251, allocations: 0 / 1.146 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000586/1.251, allocations: 381.6 kB / 1.146 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002771/1.254, allocations: 487.2 kB / 1.147 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0136/1.268, allocations: 9.004 MB / 1.155 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/1.269, allocations: 1.171 MB / 1.157 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001696/1.271, allocations: 366.8 kB / 1.157 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006454/1.271, allocations: 433.1 kB / 1.157 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of SimCode: time 1.333e-06/1.271, allocations: 0 / 1.157 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0506/1.322, allocations: 25.83 MB / 1.183 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00026/1.322, allocations: 293.9 kB / 1.183 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.274/4.596, allocations: 4 kB / 1.183 GB, free: 7.496 MB / 0.7448 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)