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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008632/0.0008628, allocations: 92.31 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009819/0.000982, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.819/1.819, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005762/0.0005762, allocations: 14.06 kB / 0.6738 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2416, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.8697/1.111, allocations: 180.2 MB / 0.9634 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01853/1.13, allocations: 10.12 MB / 0.9733 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002511/1.133, allocations: 38.59 kB / 0.9733 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00179/1.134, allocations: 367.8 kB / 0.9736 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006177/1.141, allocations: 1.329 MB / 0.9749 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003761/1.144, allocations: 0.876 MB / 0.9758 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005906/1.15, allocations: 3.171 MB / 0.9789 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001913/1.152, allocations: 0.8783 MB / 0.9797 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0041/1.156, allocations: 1.232 MB / 0.981 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002012/1.158, allocations: 0.8905 MB / 0.9818 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001739/1.158, allocations: 56.03 kB / 0.9819 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003452/1.162, allocations: 1.031 MB / 0.9829 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005808/1.163, allocations: 451.4 kB / 0.9833 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007718/1.163, allocations: 271.1 kB / 0.9836 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003132/1.166, allocations: 1.622 MB / 0.9852 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.109e-05/1.166, allocations: 1.312 kB / 0.9852 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.178e-06/1.167, allocations: 4 kB / 0.9852 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.857e-05/1.167, allocations: 0 / 0.9852 GB, free: 17.22 MB / 0.7325 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.003609/1.17, allocations: 1.461 MB / 0.9866 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/1.17, allocations: 11.75 kB / 0.9866 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000202/1.17, allocations: 157.6 kB / 0.9867 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001853/1.172, allocations: 317 kB / 0.9871 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001878/1.174, allocations: 0.8859 MB / 0.9879 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.217e-05/1.174, allocations: 84.08 kB / 0.988 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/1.174, allocations: 106.5 kB / 0.9881 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002121/1.177, allocations: 1.164 MB / 0.9892 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/1.177, allocations: 4 kB / 0.9892 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.064e-05/1.177, allocations: 45.22 kB / 0.9893 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.962e-05/1.177, allocations: 38.2 kB / 0.9893 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001622/1.178, allocations: 0.9341 MB / 0.9902 GB, free: 15 MB / 0.7325 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.006203/1.185, allocations: 4.719 MB / 0.9948 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/1.186, allocations: 0.7296 MB / 0.9956 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005923/1.187, allocations: 395.5 kB / 0.9959 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006345/1.187, allocations: 330.4 kB / 0.9962 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/1.187, allocations: 44.69 kB / 0.9963 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=69): time 2.434e-06/1.187, allocations: 4 kB / 0.9963 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69): time 0.002111/1.189, allocations: 1.017 MB / 0.9973 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/1.189, allocations: 60.62 kB / 0.9973 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/1.19, allocations: 0.791 MB / 0.9981 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.504e-05/1.191, allocations: 37.33 kB / 0.9981 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004405/1.191, allocations: 0.5356 MB / 0.9987 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002609/1.191, allocations: 251.8 kB / 0.9989 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/1.191, allocations: 14.91 kB / 0.9989 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002053/1.192, allocations: 334.9 kB / 0.9992 GB, free: 9.719 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005159/1.192, allocations: 294.3 kB / 0.9995 GB, free: 9.668 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007285/1.193, allocations: 0.5083 MB / 1 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006294/1.193, allocations: 377.4 kB / 1 GB, free: 9.316 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/1.193, allocations: 0 / 1 GB, free: 9.316 MB / 0.7325 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001527/1.195, allocations: 0.9077 MB / 1.001 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001851/1.195, allocations: 225.1 kB / 1.001 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/1.195, allocations: 10.84 kB / 1.001 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/1.195, allocations: 8.688 kB / 1.002 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009019/1.196, allocations: 190.2 kB / 1.002 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004815/1.197, allocations: 0.5932 MB / 1.002 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/1.198, allocations: 137.4 kB / 1.002 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.609e-05/1.198, allocations: 37.89 kB / 1.002 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.486e-06/1.198, allocations: 2.531 kB / 1.002 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001286/1.199, allocations: 0.7941 MB / 1.003 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/1.199, allocations: 4.781 kB / 1.003 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/1.199, allocations: 8.5 kB / 1.003 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006184/1.2, allocations: 171.3 kB / 1.003 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/1.2, allocations: 6.062 kB / 1.003 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008664/1.201, allocations: 129.9 kB / 1.004 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-05/1.201, allocations: 31.31 kB / 1.004 GB, free: 7.914 MB / 0.7325 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.0009007/1.202, allocations: 406.7 kB / 1.004 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/1.202, allocations: 96.03 kB / 1.004 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/1.203, allocations: 0.8136 MB / 1.005 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/1.203, allocations: 8.25 kB / 1.005 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/1.203, allocations: 1.859 kB / 1.005 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001089/1.204, allocations: 0.887 MB / 1.006 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003914/1.208, allocations: 2.17 MB / 1.008 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/1.208, allocations: 2.875 kB / 1.008 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007808/1.209, allocations: 156.5 kB / 1.008 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-05/1.209, allocations: 6.828 kB / 1.008 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.006e-05/1.209, allocations: 20.84 kB / 1.008 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005294/1.21, allocations: 0.5951 MB / 1.009 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.21, allocations: 2.812 kB / 1.009 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002114/1.212, allocations: 1.329 MB / 1.01 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005495/1.212, allocations: 260.4 kB / 1.01 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/1.213, allocations: 21.42 kB / 1.01 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000596/1.213, allocations: 76.91 kB / 1.01 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.048e-05/1.213, allocations: 53.05 kB / 1.01 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.828e-05/1.213, allocations: 23.12 kB / 1.01 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009438/1.214, allocations: 0.5361 MB / 1.011 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.214, allocations: 0 / 1.011 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001813/1.216, allocations: 0.5638 MB / 1.011 GB, free: 4.539 MB / 0.7325 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.002942/1.219, allocations: 2.005 MB / 1.013 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002374/1.221, allocations: 1.167 MB / 1.014 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/1.221, allocations: 8.25 kB / 1.014 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000595/1.222, allocations: 371.6 kB / 1.015 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/1.224, allocations: 485.9 kB / 1.015 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/1.235, allocations: 6.458 MB / 1.022 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009122/1.236, allocations: 1.171 MB / 1.023 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001568/1.237, allocations: 361.9 kB / 1.023 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006285/1.238, allocations: 432.5 kB / 1.023 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of SimCode: time 1.883e-06/1.238, allocations: 0 / 1.023 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05686/1.295, allocations: 26.35 MB / 1.049 GB, free: 6.332 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000243/1.295, allocations: 263.9 kB / 1.049 GB, free: 5.977 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.47/3.765, allocations: 0 / 1.049 GB, free: 5.977 MB / 0.7637 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) Environment - environmentSimulation: