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.001039/0.001039, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001006/0.001007, allocations: 177.3 kB / 15.95 MB, free: 216 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.535/1.535, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.84/1.84, allocations: 292.6 MB / 0.5497 GB, free: 14.59 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.0005727/0.0005729, allocations: 14.31 kB / 0.6737 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2738, allocations: 116.3 MB / 0.7872 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.7995/1.073, allocations: 164.1 MB / 0.9475 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01807/1.092, allocations: 9.537 MB / 0.9568 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002287/1.094, allocations: 35.38 kB / 0.9569 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002411/1.096, allocations: 0.4998 MB / 0.9574 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006842/1.103, allocations: 1.569 MB / 0.9589 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004924/1.108, allocations: 1.132 MB / 0.96 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004873/1.113, allocations: 1.612 MB / 0.9616 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001893/1.115, allocations: 0.894 MB / 0.9624 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003649/1.119, allocations: 1.123 MB / 0.9635 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001558/1.12, allocations: 0.6358 MB / 0.9642 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001792/1.12, allocations: 52.78 kB / 0.9642 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003409/1.124, allocations: 0.8237 MB / 0.965 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006236/1.124, allocations: 417.6 kB / 0.9654 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005385/1.125, allocations: 276.9 kB / 0.9657 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002373/1.127, allocations: 1.512 MB / 0.9672 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.127, allocations: 0 / 0.9672 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.526e-06/1.127, allocations: 3.141 kB / 0.9672 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.295e-05/1.127, allocations: 1.375 kB / 0.9672 GB, free: 4.43 MB / 0.7169 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.003593/1.131, allocations: 1.433 MB / 0.9686 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.428e-05/1.131, allocations: 8.562 kB / 0.9686 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002476/1.131, allocations: 156.6 kB / 0.9687 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/1.133, allocations: 325 kB / 0.969 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002232/1.136, allocations: 0.842 MB / 0.9698 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.381e-05/1.136, allocations: 84.61 kB / 0.9699 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002039/1.136, allocations: 104.6 kB / 0.97 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001987/1.138, allocations: 1.169 MB / 0.9712 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/1.138, allocations: 0 / 0.9712 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.561e-05/1.138, allocations: 43.97 kB / 0.9712 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.755e-05/1.138, allocations: 40.19 kB / 0.9712 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/1.14, allocations: 0.9335 MB / 0.9722 GB, free: 19 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.006264/1.146, allocations: 4.712 MB / 0.9768 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/1.147, allocations: 0.743 MB / 0.9775 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000399/1.147, allocations: 149.3 kB / 0.9776 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/1.148, allocations: 41.75 kB / 0.9777 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=69): time 3.085e-06/1.148, allocations: 0 / 0.9777 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69): time 0.00203/1.15, allocations: 1.02 MB / 0.9787 GB, free: 16 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/1.15, allocations: 60.16 kB / 0.9787 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008961/1.151, allocations: 0.7889 MB / 0.9795 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.606e-05/1.151, allocations: 44.48 kB / 0.9795 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003423/1.151, allocations: 0.5298 MB / 0.9801 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/1.151, allocations: 246.9 kB / 0.9803 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/1.151, allocations: 18.14 kB / 0.9803 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001635/1.151, allocations: 340.1 kB / 0.9806 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004315/1.152, allocations: 292 kB / 0.9809 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005701/1.152, allocations: 0.5098 MB / 0.9814 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005405/1.153, allocations: 372.4 kB / 0.9818 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/1.153, allocations: 0 / 0.9818 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001397/1.154, allocations: 0.911 MB / 0.9826 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007807/1.155, allocations: 1.748 MB / 0.9844 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/1.155, allocations: 9.25 kB / 0.9844 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/1.155, allocations: 7.75 kB / 0.9844 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009015/1.156, allocations: 183.4 kB / 0.9845 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004477/1.157, allocations: 0.593 MB / 0.9851 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/1.158, allocations: 141.5 kB / 0.9853 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-05/1.158, allocations: 34.44 kB / 0.9853 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/1.158, allocations: 3.094 kB / 0.9853 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001168/1.159, allocations: 0.8017 MB / 0.9861 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/1.159, allocations: 7.844 kB / 0.9861 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/1.159, allocations: 7.719 kB / 0.9861 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006065/1.16, allocations: 169.8 kB / 0.9863 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/1.16, allocations: 15.86 kB / 0.9863 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000888/1.16, allocations: 119.6 kB / 0.9864 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.976e-05/1.161, allocations: 38.23 kB / 0.9864 GB, free: 11.56 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.0007488/1.161, allocations: 402.5 kB / 0.9868 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/1.161, allocations: 107.2 kB / 0.9869 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/1.163, allocations: 0.7956 MB / 0.9877 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/1.163, allocations: 8.719 kB / 0.9877 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.163, allocations: 0 / 0.9877 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001072/1.164, allocations: 0.8904 MB / 0.9886 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003601/1.167, allocations: 2.168 MB / 0.9907 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/1.167, allocations: 5.875 kB / 0.9907 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007188/1.168, allocations: 153.1 kB / 0.9908 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/1.168, allocations: 5.719 kB / 0.9908 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.192e-05/1.168, allocations: 21.67 kB / 0.9909 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003765/1.169, allocations: 0.5987 MB / 0.9914 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/1.169, allocations: 3.281 kB / 0.9914 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/1.171, allocations: 1.445 MB / 0.9929 GB, free: 8.582 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006393/1.171, allocations: 256.2 kB / 0.9931 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/1.171, allocations: 19.16 kB / 0.9931 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006581/1.172, allocations: 75.77 kB / 0.9932 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.824e-05/1.172, allocations: 49.17 kB / 0.9932 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-05/1.172, allocations: 22.06 kB / 0.9933 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000765/1.173, allocations: 0.541 MB / 0.9938 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.173, allocations: 1.969 kB / 0.9938 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001725/1.175, allocations: 0.5614 MB / 0.9943 GB, free: 8.082 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.003049/1.178, allocations: 2.726 MB / 0.997 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002266/1.18, allocations: 1.161 MB / 0.9981 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/1.18, allocations: 2.844 kB / 0.9981 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006242/1.181, allocations: 373.6 kB / 0.9985 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002534/1.183, allocations: 473.2 kB / 0.9989 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/1.196, allocations: 9.255 MB / 1.008 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009846/1.197, allocations: 1.2 MB / 1.009 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001525/1.199, allocations: 355.2 kB / 1.009 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005702/1.199, allocations: 436.4 kB / 1.01 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of SimCode: time 1.443e-06/1.199, allocations: 0 / 1.01 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05597/1.255, allocations: 26.32 MB / 1.036 GB, free: 8.988 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002419/1.256, allocations: 266.9 kB / 1.036 GB, free: 8.629 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.54/3.796, allocations: 0 / 1.036 GB, free: 8.629 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: