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: translateModel(BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") translateModel(BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8281/0.8281, allocations: 143.4 MB / 158.3 MB, free: 5.77 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.001153/0.001153, allocations: 173.1 kB / 191.5 MB, free: 5.758 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.475/1.475, allocations: 223.2 MB / 447.7 MB, free: 4.797 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.0009573/0.0009573, allocations: 96.31 kB / 0.5188 GB, free: 1.156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001655/0.001655, allocations: 273.1 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004349/0.0004349, allocations: 16.84 kB / 0.6929 GB, free: 59.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1532, allocations: 82.8 MB / 0.7737 GB, free: 13.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.198/4.351, allocations: 1.938 GB / 2.712 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/4.351, allocations: 103.8 kB / 2.712 GB, free: 139 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.056/6.408, allocations: 0.6372 GB / 3.349 GB, free: 52.73 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.773e-06/6.408, allocations: 0 / 3.349 GB, free: 52.73 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.876e-05/6.408, allocations: 39.98 kB / 3.349 GB, free: 52.7 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.003448/6.411, allocations: 1.646 MB / 3.351 GB, free: 51 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/6.411, allocations: 15.95 kB / 3.351 GB, free: 50.98 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001749/6.413, allocations: 322 kB / 3.351 GB, free: 50.67 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002612/6.416, allocations: 1.191 MB / 3.352 GB, free: 49.43 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.592e-05/6.416, allocations: 78 kB / 3.352 GB, free: 49.36 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/6.416, allocations: 104 kB / 3.352 GB, free: 49.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/6.418, allocations: 1.153 MB / 3.354 GB, free: 48.06 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/6.418, allocations: 0 / 3.354 GB, free: 48.06 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.379e-05/6.418, allocations: 44 kB / 3.354 GB, free: 48.02 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.97e-05/6.418, allocations: 34 kB / 3.354 GB, free: 47.98 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/6.419, allocations: 0.9212 MB / 3.355 GB, free: 47.06 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.004537/6.424, allocations: 4.71 MB / 3.359 GB, free: 41.96 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000944/6.425, allocations: 0.7109 MB / 3.36 GB, free: 41.25 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004939/6.425, allocations: 312.8 kB / 3.36 GB, free: 40.89 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/6.425, allocations: 43.06 kB / 3.36 GB, free: 40.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=68): time 2.936e-06/6.425, allocations: 0 / 3.36 GB, free: 40.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=68): time 0.00167/6.427, allocations: 0.9819 MB / 3.361 GB, free: 39.85 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/6.427, allocations: 111.3 kB / 3.361 GB, free: 39.72 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007879/6.428, allocations: 0.6846 MB / 3.362 GB, free: 39.03 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.169e-05/6.428, allocations: 41.7 kB / 3.362 GB, free: 38.98 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003075/6.428, allocations: 0.5306 MB / 3.362 GB, free: 38.45 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000196/6.428, allocations: 248.4 kB / 3.363 GB, free: 38.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/6.428, allocations: 16 kB / 3.363 GB, free: 38.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.701e-05/6.428, allocations: 334 kB / 3.363 GB, free: 37.85 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004109/6.429, allocations: 281.8 kB / 3.363 GB, free: 37.57 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005424/6.429, allocations: 0.5175 MB / 3.364 GB, free: 36.96 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005073/6.43, allocations: 367 kB / 3.364 GB, free: 36.6 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/6.43, allocations: 0 / 3.364 GB, free: 36.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001221/6.431, allocations: 0.8902 MB / 3.365 GB, free: 35.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004385/6.432, allocations: 1.749 MB / 3.367 GB, free: 33.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/6.432, allocations: 11.92 kB / 3.367 GB, free: 33.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.193e-05/6.432, allocations: 12 kB / 3.367 GB, free: 33.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008632/6.433, allocations: 175.7 kB / 3.367 GB, free: 33.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003315/6.433, allocations: 0.5977 MB / 3.368 GB, free: 33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/6.434, allocations: 143.2 kB / 3.368 GB, free: 32.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.716e-05/6.434, allocations: 36 kB / 3.368 GB, free: 32.82 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/6.434, allocations: 7.953 kB / 3.368 GB, free: 32.81 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00107/6.435, allocations: 0.7686 MB / 3.368 GB, free: 32.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/6.435, allocations: 7.984 kB / 3.368 GB, free: 32.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.734e-06/6.435, allocations: 8 kB / 3.368 GB, free: 32.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000586/6.436, allocations: 184.3 kB / 3.369 GB, free: 31.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/6.436, allocations: 8 kB / 3.369 GB, free: 31.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008299/6.437, allocations: 123.2 kB / 3.369 GB, free: 31.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.593e-05/6.437, allocations: 39.98 kB / 3.369 GB, free: 31.68 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.0006887/6.437, allocations: 406.2 kB / 3.369 GB, free: 31.27 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/6.437, allocations: 102.7 kB / 3.369 GB, free: 31.17 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/6.439, allocations: 0.7742 MB / 3.37 GB, free: 30.39 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/6.439, allocations: 4 kB / 3.37 GB, free: 30.38 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/6.439, allocations: 7.984 kB / 3.37 GB, free: 30.38 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008254/6.439, allocations: 0.8593 MB / 3.371 GB, free: 29.45 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002859/6.442, allocations: 2.092 MB / 3.373 GB, free: 27.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/6.442, allocations: 0 / 3.373 GB, free: 27.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000696/6.443, allocations: 155.8 kB / 3.373 GB, free: 27.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/6.443, allocations: 4 kB / 3.373 GB, free: 27.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.688e-05/6.443, allocations: 24.27 kB / 3.373 GB, free: 27.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002013/6.443, allocations: 0.5977 MB / 3.374 GB, free: 26.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/6.443, allocations: 4 kB / 3.374 GB, free: 26.45 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001447/6.445, allocations: 1.381 MB / 3.375 GB, free: 24.97 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004059/6.445, allocations: 255.7 kB / 3.375 GB, free: 24.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/6.445, allocations: 23.94 kB / 3.375 GB, free: 24.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006399/6.446, allocations: 79.78 kB / 3.375 GB, free: 24.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.109e-05/6.446, allocations: 56.39 kB / 3.375 GB, free: 24.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.263e-05/6.446, allocations: 31.92 kB / 3.376 GB, free: 24.51 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005765/6.447, allocations: 0.5302 MB / 3.376 GB, free: 23.98 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/6.447, allocations: 0 / 3.376 GB, free: 23.98 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002094/6.449, allocations: 0.7445 MB / 3.377 GB, free: 23.24 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.002449/6.451, allocations: 1.869 MB / 3.379 GB, free: 21.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001839/6.453, allocations: 1.122 MB / 3.38 GB, free: 20.18 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/6.453, allocations: 0 / 3.38 GB, free: 20.18 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004551/6.454, allocations: 356.2 kB / 3.38 GB, free: 19.83 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/6.456, allocations: 468.3 kB / 3.38 GB, free: 19.38 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003276/6.459, allocations: 2.733 MB / 3.383 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005307/6.459, allocations: 1.198 MB / 3.384 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001067/6.46, allocations: 335.8 kB / 3.385 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002025/6.461, allocations: 83.42 kB / 3.385 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of SimCode: time 8.41e-07/6.461, allocations: 4 kB / 3.385 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of Templates: time 0.4486/6.909, allocations: 38.05 MB / 3.422 GB, free: 115.7 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)