Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 180.5 kB / 8.007 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5651/0.5651, allocations: 90.92 MB / 99.35 MB, free: 2.176 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 221.5 MB / 343.2 MB, free: 1.535 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008716/0.0008718, allocations: 91.2 kB / 415.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.858e-05/1.853e-05, allocations: 4 kB / 494.6 MB, free: 52.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1548, allocations: 72.3 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.08/5.235, allocations: 1.931 GB / 2.484 GB, free: 222.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003239/5.236, allocations: 94.33 kB / 2.484 GB, free: 222.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.005/7.241, allocations: 0.6312 GB / 3.116 GB, free: 68.83 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.232e-06/7.241, allocations: 0 / 3.116 GB, free: 68.83 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001302/7.241, allocations: 43.7 kB / 3.116 GB, free: 68.79 MB / 0.6042 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.003358/7.244, allocations: 1.472 MB / 3.117 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/7.244, allocations: 8.031 kB / 3.117 GB, free: 67.28 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001974/7.246, allocations: 322.4 kB / 3.117 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002987/7.249, allocations: 1.188 MB / 3.119 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.452e-05/7.249, allocations: 36 kB / 3.119 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002234/7.25, allocations: 64 kB / 3.119 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001507/7.251, allocations: 0.8122 MB / 3.119 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/7.253, allocations: 0.9893 MB / 3.12 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/7.253, allocations: 4 kB / 3.12 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.038e-05/7.253, allocations: 0 / 3.12 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-05/7.253, allocations: 37.98 kB / 3.12 GB, free: 63.79 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.004724/7.258, allocations: 4.51 MB / 3.125 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007919/7.258, allocations: 0.6284 MB / 3.125 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003684/7.259, allocations: 332.4 kB / 3.126 GB, free: 58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004701/7.259, allocations: 319.2 kB / 3.126 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/7.259, allocations: 39.12 kB / 3.126 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=68): time 2.505e-06/7.259, allocations: 0 / 3.126 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=68): time 0.001484/7.261, allocations: 0.7477 MB / 3.127 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/7.261, allocations: 107.4 kB / 3.127 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006195/7.262, allocations: 0.563 MB / 3.128 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.357e-05/7.262, allocations: 25.7 kB / 3.128 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/7.262, allocations: 0.5343 MB / 3.128 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/7.262, allocations: 240.4 kB / 3.128 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/7.262, allocations: 4 kB / 3.128 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.929e-05/7.262, allocations: 334 kB / 3.129 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/7.262, allocations: 249.5 kB / 3.129 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004136/7.263, allocations: 485.5 kB / 3.129 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006699/7.264, allocations: 408.3 kB / 3.13 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/7.264, allocations: 4 kB / 3.13 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001298/7.265, allocations: 0.8663 MB / 3.131 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002892/7.265, allocations: 1.753 MB / 3.132 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/7.265, allocations: 4 kB / 3.132 GB, free: 51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/7.265, allocations: 8 kB / 3.132 GB, free: 51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007853/7.266, allocations: 185.8 kB / 3.132 GB, free: 50.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002708/7.266, allocations: 0.6016 MB / 3.133 GB, free: 50.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009333/7.267, allocations: 119.4 kB / 3.133 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.867e-05/7.267, allocations: 35.98 kB / 3.133 GB, free: 50.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.035e-06/7.267, allocations: 7.953 kB / 3.133 GB, free: 50.03 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001106/7.268, allocations: 0.7446 MB / 3.134 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/7.268, allocations: 7.938 kB / 3.134 GB, free: 49.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/7.268, allocations: 8 kB / 3.134 GB, free: 49.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006062/7.269, allocations: 163.8 kB / 3.134 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/7.269, allocations: 11.94 kB / 3.134 GB, free: 49.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008706/7.27, allocations: 115.4 kB / 3.134 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.909e-05/7.27, allocations: 32 kB / 3.134 GB, free: 48.95 MB / 0.6042 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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.0001523/7.27, allocations: 124.7 kB / 3.134 GB, free: 48.82 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00108/7.271, allocations: 0.7126 MB / 3.135 GB, free: 48.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/7.271, allocations: 90.88 kB / 3.135 GB, free: 48.01 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/7.273, allocations: 0.766 MB / 3.136 GB, free: 47.24 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/7.273, allocations: 4 kB / 3.136 GB, free: 47.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/7.273, allocations: 7.984 kB / 3.136 GB, free: 47.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009411/7.274, allocations: 0.8748 MB / 3.137 GB, free: 46.29 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003032/7.277, allocations: 1.962 MB / 3.139 GB, free: 44.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/7.277, allocations: 4 kB / 3.139 GB, free: 44.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007112/7.277, allocations: 156.1 kB / 3.139 GB, free: 44.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/7.277, allocations: 4 kB / 3.139 GB, free: 44.09 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.61e-05/7.278, allocations: 15.98 kB / 3.139 GB, free: 44.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001871/7.278, allocations: 0.5938 MB / 3.139 GB, free: 43.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/7.278, allocations: 0 / 3.139 GB, free: 43.45 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/7.279, allocations: 1.339 MB / 3.141 GB, free: 42.01 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003738/7.28, allocations: 247.7 kB / 3.141 GB, free: 41.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/7.28, allocations: 4 kB / 3.141 GB, free: 41.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006691/7.28, allocations: 59.94 kB / 3.141 GB, free: 41.69 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.943e-05/7.28, allocations: 56.39 kB / 3.141 GB, free: 41.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.951e-05/7.281, allocations: 27.98 kB / 3.141 GB, free: 41.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004649/7.281, allocations: 431.1 kB / 3.142 GB, free: 41.19 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.6e-07/7.281, allocations: 0 / 3.142 GB, free: 41.19 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001796/7.283, allocations: 0.6738 MB / 3.142 GB, free: 40.52 MB / 0.6042 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.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1],senTraSubPeo.C,senTraSubFre.C) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 67 * 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.004159/7.287, allocations: 4.476 MB / 3.147 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001563/7.289, allocations: 1.039 MB / 3.148 GB, free: 35.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/7.289, allocations: 0 / 3.148 GB, free: 35.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004034/7.289, allocations: 325.9 kB / 3.148 GB, free: 34.83 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00187/7.291, allocations: 419 kB / 3.148 GB, free: 34.43 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00334/7.294, allocations: 2.002 MB / 3.15 GB, free: 32.38 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005528/7.295, allocations: 1.195 MB / 3.151 GB, free: 31.15 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001284/7.296, allocations: 399.1 kB / 3.152 GB, free: 30.76 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004289/7.296, allocations: 415.3 kB / 3.152 GB, free: 30.35 MB / 0.6042 GB Notification: Performance of SimCode: time 6.91e-07/7.297, allocations: 0 / 3.152 GB, free: 30.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06522/7.362, allocations: 38.74 MB / 3.19 GB, free: 7.828 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001925/7.362, allocations: 184.4 kB / 3.19 GB, free: 7.629 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.351/10.71, allocations: 3.938 kB / 3.19 GB, free: 7.625 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)