Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.967/0.967, allocations: 143.4 MB / 158.3 MB, free: 5.773 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001772/0.001771, allocations: 177.1 kB / 191.5 MB, free: 5.746 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.612/1.612, allocations: 223.2 MB / 447.7 MB, free: 4.793 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 96.25 kB / 0.5187 GB, free: 1.141 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002041/0.002041, allocations: 280.4 kB / 0.6005 GB, free: 48.71 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004476/0.0004477, allocations: 12.42 kB / 0.6929 GB, free: 59.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2006, allocations: 82.79 MB / 0.7738 GB, free: 13.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.655/4.856, allocations: 1.938 GB / 2.712 GB, free: 89.7 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/4.856, allocations: 103.2 kB / 2.712 GB, free: 89.64 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.054/6.911, allocations: 0.6372 GB / 3.349 GB, free: 19.03 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.735e-06/6.911, allocations: 0 / 3.349 GB, free: 19.03 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001034/6.911, allocations: 28 kB / 3.349 GB, free: 19 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.003788/6.915, allocations: 1.655 MB / 3.351 GB, free: 17.29 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/6.915, allocations: 16.02 kB / 3.351 GB, free: 17.27 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002161/6.915, allocations: 160.2 kB / 3.351 GB, free: 17.11 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001814/6.917, allocations: 318.3 kB / 3.351 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003/6.92, allocations: 1.207 MB / 3.353 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.131e-05/6.92, allocations: 78 kB / 3.353 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/6.92, allocations: 104 kB / 3.353 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/6.922, allocations: 1.153 MB / 3.354 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/6.922, allocations: 3.938 kB / 3.354 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.785e-05/6.922, allocations: 40 kB / 3.354 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.111e-05/6.922, allocations: 42 kB / 3.354 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/6.923, allocations: 0.9095 MB / 3.355 GB, free: 13.18 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.004794/6.928, allocations: 4.718 MB / 3.359 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009458/6.929, allocations: 0.6982 MB / 3.36 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000497/6.929, allocations: 316.8 kB / 3.36 GB, free: 7 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/6.929, allocations: 39.12 kB / 3.36 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=68): time 3.507e-06/6.929, allocations: 0 / 3.36 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of matching and sorting (n=68): time 0.001669/6.931, allocations: 0.978 MB / 3.361 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/6.931, allocations: 119.3 kB / 3.361 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007298/6.932, allocations: 0.6845 MB / 3.362 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.171e-05/6.932, allocations: 37.7 kB / 3.362 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/6.932, allocations: 0.5384 MB / 3.363 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/6.932, allocations: 244.5 kB / 3.363 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/6.932, allocations: 16 kB / 3.363 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.148e-05/6.933, allocations: 338 kB / 3.363 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003941/6.933, allocations: 277.8 kB / 3.364 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005202/6.934, allocations: 0.5175 MB / 3.364 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004812/6.934, allocations: 363 kB / 3.364 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/6.934, allocations: 4 kB / 3.364 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001176/6.935, allocations: 0.8862 MB / 3.365 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.466/7.401, allocations: 1.746 MB / 3.367 GB, free: 118.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.061e-05/7.401, allocations: 5.094 kB / 3.367 GB, free: 118.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.59e-05/7.401, allocations: 9.125 kB / 3.367 GB, free: 118.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/7.403, allocations: 174.4 kB / 3.367 GB, free: 118.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004067/7.403, allocations: 0.6045 MB / 3.368 GB, free: 118.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/7.404, allocations: 139.3 kB / 3.368 GB, free: 118.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/7.405, allocations: 40.61 kB / 3.368 GB, free: 118.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/7.405, allocations: 2.75 kB / 3.368 GB, free: 118.3 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001266/7.406, allocations: 0.7676 MB / 3.369 GB, free: 118.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/7.406, allocations: 8 kB / 3.369 GB, free: 118.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/7.406, allocations: 9.219 kB / 3.369 GB, free: 118.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000625/7.407, allocations: 170.9 kB / 3.369 GB, free: 118.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/7.407, allocations: 16.44 kB / 3.369 GB, free: 118.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008769/7.407, allocations: 126.7 kB / 3.369 GB, free: 118.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.144e-05/7.408, allocations: 36.44 kB / 3.369 GB, free: 118.3 MB / 0.7136 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 (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.0007352/7.408, allocations: 412.1 kB / 3.369 GB, free: 118.1 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/7.408, allocations: 102.2 kB / 3.37 GB, free: 118.1 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/7.41, allocations: 0.7714 MB / 3.37 GB, free: 118.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/7.41, allocations: 6.406 kB / 3.37 GB, free: 118.1 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/7.41, allocations: 3.781 kB / 3.37 GB, free: 118.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009477/7.411, allocations: 0.8603 MB / 3.371 GB, free: 117.7 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003285/7.414, allocations: 2.097 MB / 3.373 GB, free: 117.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/7.414, allocations: 1.281 kB / 3.373 GB, free: 117.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007458/7.415, allocations: 155.6 kB / 3.373 GB, free: 117.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.869e-06/7.415, allocations: 7.578 kB / 3.373 GB, free: 117.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.932e-05/7.415, allocations: 26.36 kB / 3.373 GB, free: 117.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002154/7.415, allocations: 0.5919 MB / 3.374 GB, free: 116.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/7.415, allocations: 3.25 kB / 3.374 GB, free: 116.6 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/7.417, allocations: 1.385 MB / 3.375 GB, free: 116.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000475/7.417, allocations: 258.6 kB / 3.376 GB, free: 116.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/7.418, allocations: 22.97 kB / 3.376 GB, free: 116.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000662/7.418, allocations: 78.25 kB / 3.376 GB, free: 116.1 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.338e-05/7.418, allocations: 48.22 kB / 3.376 GB, free: 116.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.851e-05/7.418, allocations: 26.17 kB / 3.376 GB, free: 116.1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007958/7.419, allocations: 0.5389 MB / 3.376 GB, free: 116 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.432e-06/7.419, allocations: 0 / 3.376 GB, free: 116 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002429/7.422, allocations: 0.7462 MB / 3.377 GB, free: 115.9 MB / 0.7136 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 (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.005779/7.427, allocations: 4.32 MB / 3.381 GB, free: 114 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003004/7.43, allocations: 1.131 MB / 3.382 GB, free: 113.9 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/7.43, allocations: 0 / 3.382 GB, free: 113.9 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007364/7.431, allocations: 355.7 kB / 3.383 GB, free: 113.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002699/7.434, allocations: 478.1 kB / 3.383 GB, free: 113.9 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/7.448, allocations: 9.255 MB / 3.392 GB, free: 108.9 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/7.449, allocations: 1.195 MB / 3.393 GB, free: 108.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001839/7.451, allocations: 345.1 kB / 3.394 GB, free: 108.1 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006626/7.452, allocations: 433.1 kB / 3.394 GB, free: 108.1 MB / 0.7136 GB Notification: Performance of SimCode: time 3.626e-06/7.452, allocations: 0 / 3.394 GB, free: 108.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09699/7.549, allocations: 53.84 MB / 3.447 GB, free: 107.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/7.549, allocations: 274 kB / 3.447 GB, free: 106.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.127/11.68, allocations: 0 / 3.447 GB, free: 106.8 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)