Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.799/1.799, allocations: 288.3 MB / 303.2 MB, free: 8.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001151/0.00115, allocations: 178 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.859/1.859, allocations: 205.4 MB / 0.6306 GB, free: 9.973 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009189/0.0009189, allocations: 105.3 kB / 0.7439 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003926/0.0003926, allocations: 19.94 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2439, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.267/5.511, allocations: 2.084 GB / 3.063 GB, free: 233.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003374/5.512, allocations: 99.94 kB / 3.063 GB, free: 233.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.543/7.054, allocations: 481.6 MB / 3.533 GB, free: 121.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.563e-06/7.055, allocations: 0 / 3.533 GB, free: 121.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.611e-05/7.055, allocations: 27.92 kB / 3.533 GB, free: 121.6 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.002419/7.057, allocations: 1.092 MB / 3.534 GB, free: 120.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/7.057, allocations: 8.031 kB / 3.534 GB, free: 120.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/7.058, allocations: 198.9 kB / 3.535 GB, free: 120.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001941/7.06, allocations: 0.9078 MB / 3.536 GB, free: 119.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.349e-05/7.06, allocations: 45.31 kB / 3.536 GB, free: 119.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.768e-05/7.06, allocations: 56 kB / 3.536 GB, free: 119.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009314/7.061, allocations: 0.5932 MB / 3.536 GB, free: 118.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/7.061, allocations: 0 / 3.536 GB, free: 118.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.089e-05/7.061, allocations: 24 kB / 3.536 GB, free: 118.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.101e-05/7.062, allocations: 21.31 kB / 3.536 GB, free: 118.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007913/7.062, allocations: 472.9 kB / 3.537 GB, free: 118.1 MB / 0.948 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.002703/7.065, allocations: 2.408 MB / 3.539 GB, free: 115.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004828/7.066, allocations: 322.9 kB / 3.539 GB, free: 115.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005623/7.066, allocations: 307.2 kB / 3.54 GB, free: 114.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/7.066, allocations: 34.56 kB / 3.54 GB, free: 114.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 1.873e-06/7.066, allocations: 0 / 3.54 GB, free: 114.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.001102/7.067, allocations: 0.5372 MB / 3.54 GB, free: 114.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/7.067, allocations: 59.27 kB / 3.54 GB, free: 114.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004733/7.068, allocations: 434.1 kB / 3.541 GB, free: 113.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.478e-05/7.068, allocations: 37.7 kB / 3.541 GB, free: 113.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/7.068, allocations: 316.5 kB / 3.541 GB, free: 113.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.278e-05/7.068, allocations: 134.1 kB / 3.541 GB, free: 113.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.748e-05/7.068, allocations: 4 kB / 3.541 GB, free: 113.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.735e-05/7.068, allocations: 366.7 kB / 3.541 GB, free: 112.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/7.068, allocations: 148.8 kB / 3.542 GB, free: 112.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/7.069, allocations: 276.1 kB / 3.542 GB, free: 112.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002616/7.069, allocations: 186.6 kB / 3.542 GB, free: 112.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/7.069, allocations: 4 kB / 3.542 GB, free: 112.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006725/7.07, allocations: 479.1 kB / 3.543 GB, free: 111.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003094/7.07, allocations: 0.8771 MB / 3.543 GB, free: 110.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/7.07, allocations: 8 kB / 3.543 GB, free: 110.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.261e-05/7.07, allocations: 4 kB / 3.543 GB, free: 110.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006583/7.071, allocations: 95.83 kB / 3.543 GB, free: 110.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004769/7.071, allocations: 0.5977 MB / 3.544 GB, free: 110 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007975/7.072, allocations: 79.53 kB / 3.544 GB, free: 110 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.929e-05/7.072, allocations: 16 kB / 3.544 GB, free: 109.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/7.072, allocations: 5.25 kB / 3.544 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006032/7.073, allocations: 395.5 kB / 3.545 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/7.073, allocations: 4 kB / 3.545 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.161e-06/7.073, allocations: 8.281 kB / 3.545 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/7.073, allocations: 83.89 kB / 3.545 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/7.073, allocations: 4 kB / 3.545 GB, free: 109.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004982/7.074, allocations: 75.44 kB / 3.545 GB, free: 109.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.595e-05/7.074, allocations: 23.98 kB / 3.545 GB, free: 109.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * 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.0003952/7.074, allocations: 301 kB / 3.545 GB, free: 109 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.471e-05/7.074, allocations: 63.28 kB / 3.545 GB, free: 109 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006422/7.075, allocations: 443.4 kB / 3.545 GB, free: 108.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/7.075, allocations: 4 kB / 3.546 GB, free: 108.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/7.075, allocations: 4 kB / 3.546 GB, free: 108.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004646/7.075, allocations: 0.6402 MB / 3.546 GB, free: 107.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/7.077, allocations: 1.197 MB / 3.547 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/7.077, allocations: 3.984 kB / 3.547 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004734/7.077, allocations: 95.83 kB / 3.547 GB, free: 106.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/7.077, allocations: 4 kB / 3.547 GB, free: 106.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.128e-05/7.077, allocations: 12 kB / 3.547 GB, free: 106.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002462/7.078, allocations: 0.5938 MB / 3.548 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/7.078, allocations: 128 / 3.548 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007675/7.079, allocations: 0.8207 MB / 3.549 GB, free: 104.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002357/7.079, allocations: 180.3 kB / 3.549 GB, free: 104.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.947e-05/7.079, allocations: 12 kB / 3.549 GB, free: 104.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004346/7.079, allocations: 43.84 kB / 3.549 GB, free: 104.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/7.079, allocations: 32 kB / 3.549 GB, free: 104.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/7.079, allocations: 19.98 kB / 3.549 GB, free: 104.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003436/7.08, allocations: 346.8 kB / 3.549 GB, free: 104.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.1e-07/7.08, allocations: 0 / 3.549 GB, free: 104.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001539/7.081, allocations: 487.1 kB / 3.55 GB, free: 103.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senMasFra1.X) * 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 (35): * Single equations (assignments): 34 * 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.001834/7.083, allocations: 1.38 MB / 3.551 GB, free: 102.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001054/7.084, allocations: 0.5658 MB / 3.552 GB, free: 101.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/7.084, allocations: 4 kB / 3.552 GB, free: 101.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002551/7.084, allocations: 186.2 kB / 3.552 GB, free: 101.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/7.086, allocations: 362.1 kB / 3.552 GB, free: 101.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/7.088, allocations: 1.662 MB / 3.554 GB, free: 99.55 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/7.089, allocations: 0.9571 MB / 3.555 GB, free: 98.56 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007112/7.089, allocations: 204.9 kB / 3.555 GB, free: 98.36 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/7.089, allocations: 47.42 kB / 3.555 GB, free: 98.32 MB / 0.948 GB Notification: Performance of SimCode: time 1.643e-06/7.089, allocations: 0 / 3.555 GB, free: 98.32 MB / 0.948 GB Notification: Performance of Templates: time 0.0376/7.127, allocations: 27.51 MB / 3.582 GB, free: 70.94 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)