Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.279/2.279, allocations: 387.1 MB / 399.7 MB, free: 9.527 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 176 kB / 492.3 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 221.3 MB / 0.7871 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009599/0.0009602, allocations: 86.08 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.106e-05/4.13e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3001, allocations: 142.3 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.406/5.706, allocations: 1.978 GB / 3.19 GB, free: 350.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/5.706, allocations: 96.53 kB / 3.191 GB, free: 350.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.876/7.582, allocations: 0.6383 GB / 3.829 GB, free: 135.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.453e-06/7.582, allocations: 0 / 3.829 GB, free: 135.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.956e-05/7.582, allocations: 39.98 kB / 3.829 GB, free: 135.4 MB / 1.151 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.002954/7.585, allocations: 1.465 MB / 3.83 GB, free: 133.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/7.585, allocations: 12.03 kB / 3.83 GB, free: 133.8 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000168/7.585, allocations: 156.3 kB / 3.831 GB, free: 133.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001807/7.587, allocations: 318 kB / 3.831 GB, free: 133.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002803/7.59, allocations: 1.205 MB / 3.832 GB, free: 132.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.231e-05/7.59, allocations: 78 kB / 3.832 GB, free: 132 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/7.59, allocations: 108 kB / 3.832 GB, free: 131.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/7.592, allocations: 1.122 MB / 3.833 GB, free: 130.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/7.592, allocations: 4 kB / 3.833 GB, free: 130.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.408e-05/7.592, allocations: 40 kB / 3.833 GB, free: 130.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.6e-05/7.592, allocations: 37.94 kB / 3.833 GB, free: 130.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/7.593, allocations: 0.8708 MB / 3.834 GB, free: 129.8 MB / 1.151 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.004802/7.598, allocations: 4.725 MB / 3.839 GB, free: 124.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000905/7.599, allocations: 0.666 MB / 3.839 GB, free: 124 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003965/7.599, allocations: 347 kB / 3.84 GB, free: 123.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000493/7.6, allocations: 320.7 kB / 3.84 GB, free: 123.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/7.6, allocations: 43.12 kB / 3.84 GB, free: 123.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=68): time 3.737e-06/7.6, allocations: 0 / 3.84 GB, free: 123.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=68): time 0.001415/7.601, allocations: 0.6892 MB / 3.841 GB, free: 122.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/7.601, allocations: 111.4 kB / 3.841 GB, free: 122.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008496/7.602, allocations: 0.6888 MB / 3.842 GB, free: 121.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.255e-05/7.602, allocations: 41.7 kB / 3.842 GB, free: 121.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003463/7.603, allocations: 0.5307 MB / 3.842 GB, free: 121.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/7.603, allocations: 240.5 kB / 3.842 GB, free: 120.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/7.603, allocations: 19.94 kB / 3.842 GB, free: 120.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000118/7.603, allocations: 341.9 kB / 3.843 GB, free: 120.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003837/7.604, allocations: 261.5 kB / 3.843 GB, free: 120.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005213/7.604, allocations: 0.4947 MB / 3.843 GB, free: 119.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004849/7.605, allocations: 349.9 kB / 3.844 GB, free: 119.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/7.605, allocations: 4 kB / 3.844 GB, free: 119.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001239/7.606, allocations: 0.8542 MB / 3.845 GB, free: 118.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004637/7.606, allocations: 1.751 MB / 3.846 GB, free: 116.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/7.606, allocations: 4 kB / 3.846 GB, free: 116.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3e-05/7.606, allocations: 11.95 kB / 3.846 GB, free: 116.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009201/7.607, allocations: 175.7 kB / 3.847 GB, free: 116.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003413/7.608, allocations: 0.6016 MB / 3.847 GB, free: 115.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/7.609, allocations: 155.1 kB / 3.847 GB, free: 115.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-05/7.609, allocations: 36 kB / 3.847 GB, free: 115.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/7.609, allocations: 5.562 kB / 3.847 GB, free: 115.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009748/7.61, allocations: 0.7406 MB / 3.848 GB, free: 114.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/7.61, allocations: 4 kB / 3.848 GB, free: 114.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/7.61, allocations: 8 kB / 3.848 GB, free: 114.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005706/7.61, allocations: 171.7 kB / 3.848 GB, free: 114.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/7.61, allocations: 15.94 kB / 3.848 GB, free: 114.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009056/7.611, allocations: 131.5 kB / 3.848 GB, free: 114.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-05/7.611, allocations: 35.98 kB / 3.848 GB, free: 114.5 MB / 1.151 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.0001848/7.612, allocations: 154.1 kB / 3.849 GB, free: 114.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/7.612, allocations: 102.8 kB / 3.849 GB, free: 114.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/7.613, allocations: 0.7508 MB / 3.849 GB, free: 113.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/7.613, allocations: 8 kB / 3.849 GB, free: 113.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/7.613, allocations: 3.984 kB / 3.849 GB, free: 113.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007957/7.614, allocations: 0.8281 MB / 3.85 GB, free: 112.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002893/7.617, allocations: 2.069 MB / 3.852 GB, free: 110.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/7.617, allocations: 0 / 3.852 GB, free: 110.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007085/7.617, allocations: 155.8 kB / 3.852 GB, free: 110.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/7.617, allocations: 8 kB / 3.852 GB, free: 110.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.866e-05/7.617, allocations: 19.98 kB / 3.852 GB, free: 110.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000212/7.618, allocations: 0.594 MB / 3.853 GB, free: 109.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/7.618, allocations: 4.031 kB / 3.853 GB, free: 109.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/7.619, allocations: 1.307 MB / 3.854 GB, free: 108.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004065/7.619, allocations: 263.6 kB / 3.854 GB, free: 107.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/7.62, allocations: 20 kB / 3.855 GB, free: 107.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006334/7.62, allocations: 71.88 kB / 3.855 GB, free: 107.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.691e-05/7.62, allocations: 48.44 kB / 3.855 GB, free: 107.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.455e-05/7.62, allocations: 27.98 kB / 3.855 GB, free: 107.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005972/7.621, allocations: 0.5306 MB / 3.855 GB, free: 107.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/7.621, allocations: 3.938 kB / 3.855 GB, free: 107.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002024/7.623, allocations: 0.7444 MB / 3.856 GB, free: 106.4 MB / 1.151 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.003973/7.627, allocations: 4.244 MB / 3.86 GB, free: 102 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001708/7.629, allocations: 1.102 MB / 3.861 GB, free: 100.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/7.629, allocations: 4 kB / 3.861 GB, free: 100.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004211/7.629, allocations: 335 kB / 3.861 GB, free: 100.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/7.631, allocations: 472 kB / 3.862 GB, free: 100.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003227/7.634, allocations: 2.08 MB / 3.864 GB, free: 98 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000536/7.635, allocations: 1.199 MB / 3.865 GB, free: 96.77 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001289/7.636, allocations: 439.6 kB / 3.866 GB, free: 96.34 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004341/7.637, allocations: 423.3 kB / 3.866 GB, free: 95.93 MB / 1.151 GB Notification: Performance of SimCode: time 4.41e-07/7.637, allocations: 0 / 3.866 GB, free: 95.93 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08105/7.718, allocations: 60 MB / 3.925 GB, free: 36.29 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001459/7.718, allocations: 227.7 kB / 3.925 GB, free: 35.99 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.036/11.75, allocations: 0 / 3.925 GB, free: 35.99 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction_res.mat does not exist to compare? outputFormat=mat