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.428/1.428, allocations: 252 MB / 267 MB, free: 10.96 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.001152/0.001152, allocations: 187.4 kB / 326.6 MB, free: 2.207 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.867/1.867, allocations: 205.4 MB / 0.5777 GB, free: 20.26 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.0007395/0.0007397, allocations: 90 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004024/0.0004024, allocations: 12.61 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2943, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.8211/1.115, allocations: 180.4 MB / 1.076 GB, free: 4.188 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01858/1.134, allocations: 10.22 MB / 1.086 GB, free: 3.988 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002225/1.136, allocations: 36.78 kB / 1.087 GB, free: 3.988 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00162/1.138, allocations: 376.7 kB / 1.087 GB, free: 3.984 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005252/1.143, allocations: 1.33 MB / 1.088 GB, free: 3.922 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003674/1.147, allocations: 0.8844 MB / 1.089 GB, free: 3.902 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005441/1.152, allocations: 3.239 MB / 1.092 GB, free: 3.895 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001908/1.154, allocations: 0.8934 MB / 1.093 GB, free: 3.773 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004139/1.159, allocations: 1.25 MB / 1.094 GB, free: 3.758 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002437/1.161, allocations: 0.9064 MB / 1.095 GB, free: 3.754 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000186/1.161, allocations: 55.12 kB / 1.095 GB, free: 3.754 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003584/1.165, allocations: 1.033 MB / 1.096 GB, free: 3.734 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006474/1.165, allocations: 463.1 kB / 1.097 GB, free: 3.73 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000897/1.166, allocations: 280.1 kB / 1.097 GB, free: 19.7 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002818/1.169, allocations: 1.643 MB / 1.099 GB, free: 19.57 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.169, allocations: 0 / 1.099 GB, free: 19.57 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.475e-06/1.169, allocations: 0 / 1.099 GB, free: 19.57 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.904e-05/1.169, allocations: 0 / 1.099 GB, free: 19.57 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: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.002783/1.172, allocations: 1.468 MB / 1.1 GB, free: 18.71 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/1.172, allocations: 9.75 kB / 1.1 GB, free: 18.71 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001936/1.172, allocations: 159.8 kB / 1.1 GB, free: 18.67 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/1.174, allocations: 316.8 kB / 1.1 GB, free: 18.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001989/1.176, allocations: 0.9046 MB / 1.101 GB, free: 18.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.786e-05/1.176, allocations: 84.56 kB / 1.101 GB, free: 18.27 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/1.176, allocations: 109 kB / 1.102 GB, free: 18.26 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/1.178, allocations: 1.171 MB / 1.103 GB, free: 18.11 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/1.178, allocations: 0 / 1.103 GB, free: 18.11 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.582e-05/1.179, allocations: 40.94 kB / 1.103 GB, free: 18.11 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.788e-05/1.179, allocations: 40.47 kB / 1.103 GB, free: 18.11 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001951/1.181, allocations: 0.9443 MB / 1.104 GB, free: 18.1 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.00654/1.187, allocations: 4.534 MB / 1.108 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/1.188, allocations: 0.7514 MB / 1.109 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005582/1.189, allocations: 410.4 kB / 1.109 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006987/1.19, allocations: 331.1 kB / 1.11 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/1.19, allocations: 43.03 kB / 1.11 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=72): time 3.516e-06/1.19, allocations: 0 / 1.11 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72): time 0.002055/1.192, allocations: 1.049 MB / 1.111 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/1.192, allocations: 64.03 kB / 1.111 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000993/1.193, allocations: 0.7766 MB / 1.111 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.963e-05/1.193, allocations: 40.98 kB / 1.111 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004039/1.193, allocations: 0.5249 MB / 1.112 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002291/1.194, allocations: 261.3 kB / 1.112 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/1.194, allocations: 14.78 kB / 1.112 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001721/1.194, allocations: 337.9 kB / 1.113 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004849/1.194, allocations: 297.1 kB / 1.113 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006249/1.195, allocations: 0.5008 MB / 1.113 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006132/1.196, allocations: 374.3 kB / 1.114 GB, free: 14 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/1.196, allocations: 0 / 1.114 GB, free: 14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001429/1.197, allocations: 0.9183 MB / 1.115 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001411/1.197, allocations: 215.2 kB / 1.115 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/1.197, allocations: 5.312 kB / 1.115 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/1.197, allocations: 13.5 kB / 1.115 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000873/1.198, allocations: 191.1 kB / 1.115 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004242/1.199, allocations: 0.5992 MB / 1.116 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009711/1.2, allocations: 131.9 kB / 1.116 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.429e-05/1.2, allocations: 32.44 kB / 1.116 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/1.2, allocations: 6.062 kB / 1.116 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001221/1.201, allocations: 0.8065 MB / 1.117 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/1.201, allocations: 6.984 kB / 1.117 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/1.201, allocations: 9.031 kB / 1.117 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006117/1.201, allocations: 169.7 kB / 1.117 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/1.202, allocations: 14.59 kB / 1.117 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008629/1.202, allocations: 120.8 kB / 1.117 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.055e-05/1.202, allocations: 35.47 kB / 1.117 GB, free: 12.96 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 (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.0007035/1.203, allocations: 407 kB / 1.117 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/1.203, allocations: 102.8 kB / 1.117 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/1.205, allocations: 0.8371 MB / 1.118 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/1.205, allocations: 9.672 kB / 1.118 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/1.205, allocations: 1.562 kB / 1.118 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001103/1.206, allocations: 0.9036 MB / 1.119 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003606/1.209, allocations: 2.203 MB / 1.121 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/1.209, allocations: 2.906 kB / 1.121 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007236/1.21, allocations: 160.4 kB / 1.121 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/1.21, allocations: 8.109 kB / 1.121 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.136e-05/1.21, allocations: 20.92 kB / 1.121 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003665/1.211, allocations: 0.5988 MB / 1.122 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/1.211, allocations: 2.844 kB / 1.122 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001833/1.213, allocations: 1.359 MB / 1.123 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004863/1.213, allocations: 272 kB / 1.124 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/1.213, allocations: 15.56 kB / 1.124 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006614/1.214, allocations: 69.47 kB / 1.124 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/1.214, allocations: 49.25 kB / 1.124 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.649e-05/1.214, allocations: 27.56 kB / 1.124 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008494/1.215, allocations: 0.5358 MB / 1.124 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.21e-07/1.215, allocations: 0 / 1.124 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002106/1.217, allocations: 0.5711 MB / 1.125 GB, free: 10.54 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 (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.003235/1.22, allocations: 2.051 MB / 1.127 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002202/1.222, allocations: 1.191 MB / 1.128 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/1.222, allocations: 3.188 kB / 1.128 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005408/1.223, allocations: 381.7 kB / 1.128 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002281/1.225, allocations: 496 kB / 1.129 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/1.236, allocations: 6.573 MB / 1.135 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008783/1.237, allocations: 1.176 MB / 1.136 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001492/1.238, allocations: 366.2 kB / 1.137 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005515/1.239, allocations: 427.2 kB / 1.137 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of SimCode: time 1.212e-06/1.239, allocations: 0 / 1.137 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05512/1.294, allocations: 26.62 MB / 1.163 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003281/1.294, allocations: 277.7 kB / 1.163 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.13/4.424, allocations: 3.938 kB / 1.163 GB, free: 2.938 MB / 0.7292 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)