Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.666/1.666, allocations: 289.7 MB / 302.2 MB, free: 2.184 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.00111/0.00111, allocations: 182.7 kB / 371.6 MB, free: 3.312 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.789/1.789, allocations: 205.1 MB / 0.6309 GB, free: 11.78 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008885/0.0008884, allocations: 95.36 kB / 0.745 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.388e-05/3.401e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2495, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.369/5.618, allocations: 2.084 GB / 3.064 GB, free: 127 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/5.619, allocations: 86.91 kB / 3.064 GB, free: 127 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.63/7.249, allocations: 481.1 MB / 3.534 GB, free: 25.23 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.342e-06/7.249, allocations: 0 / 3.534 GB, free: 25.23 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.176e-05/7.249, allocations: 27.92 kB / 3.534 GB, free: 25.2 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.002056/7.251, allocations: 0.9861 MB / 3.535 GB, free: 24.17 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/7.251, allocations: 8.031 kB / 3.535 GB, free: 24.16 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/7.252, allocations: 198.8 kB / 3.535 GB, free: 23.96 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001832/7.254, allocations: 0.902 MB / 3.536 GB, free: 23.02 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/7.254, allocations: 45.31 kB / 3.536 GB, free: 22.98 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-05/7.254, allocations: 63.98 kB / 3.536 GB, free: 22.92 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008956/7.255, allocations: 0.5816 MB / 3.537 GB, free: 22.32 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/7.255, allocations: 352 / 3.537 GB, free: 22.32 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.391e-05/7.255, allocations: 23.95 kB / 3.537 GB, free: 22.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.354e-05/7.255, allocations: 21.31 kB / 3.537 GB, free: 22.27 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006663/7.256, allocations: 465 kB / 3.537 GB, free: 21.82 MB / 0.948 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.002527/7.259, allocations: 2.396 MB / 3.54 GB, free: 19.22 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004402/7.259, allocations: 325.1 kB / 3.54 GB, free: 18.89 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002423/7.259, allocations: 207.4 kB / 3.54 GB, free: 18.69 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004556/7.26, allocations: 303.3 kB / 3.54 GB, free: 18.34 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/7.26, allocations: 42.52 kB / 3.541 GB, free: 18.29 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 1.733e-06/7.26, allocations: 0 / 3.541 GB, free: 18.29 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.0008156/7.261, allocations: 408.4 kB / 3.541 GB, free: 17.88 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/7.261, allocations: 56 kB / 3.541 GB, free: 17.82 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004337/7.261, allocations: 432.8 kB / 3.541 GB, free: 17.39 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/7.261, allocations: 41.64 kB / 3.541 GB, free: 17.34 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/7.261, allocations: 308.6 kB / 3.542 GB, free: 17.03 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.829e-05/7.261, allocations: 134 kB / 3.542 GB, free: 16.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.877e-05/7.261, allocations: 12 kB / 3.542 GB, free: 16.89 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.972e-05/7.262, allocations: 366.8 kB / 3.542 GB, free: 16.52 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/7.262, allocations: 136.8 kB / 3.542 GB, free: 16.38 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002805/7.262, allocations: 276.1 kB / 3.543 GB, free: 16.06 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002418/7.262, allocations: 190.1 kB / 3.543 GB, free: 15.88 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/7.262, allocations: 0 / 3.543 GB, free: 15.88 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005906/7.263, allocations: 470.5 kB / 3.543 GB, free: 15.41 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002073/7.263, allocations: 0.8822 MB / 3.544 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/7.263, allocations: 4 kB / 3.544 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/7.263, allocations: 8 kB / 3.544 GB, free: 14.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005441/7.264, allocations: 95.83 kB / 3.544 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003147/7.264, allocations: 0.5977 MB / 3.545 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000586/7.265, allocations: 71.59 kB / 3.545 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.807e-05/7.265, allocations: 16 kB / 3.545 GB, free: 13.65 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.547e-06/7.265, allocations: 4 kB / 3.545 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005204/7.265, allocations: 399.9 kB / 3.545 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/7.265, allocations: 3.984 kB / 3.545 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.241e-06/7.265, allocations: 4 kB / 3.545 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/7.266, allocations: 87.91 kB / 3.545 GB, free: 13.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/7.266, allocations: 4 kB / 3.545 GB, free: 13.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004573/7.266, allocations: 67.73 kB / 3.545 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/7.266, allocations: 16 kB / 3.545 GB, free: 13.07 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 () * 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.0001212/7.266, allocations: 137 kB / 3.546 GB, free: 12.94 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.878e-05/7.266, allocations: 59.28 kB / 3.546 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006421/7.267, allocations: 439.8 kB / 3.546 GB, free: 12.44 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/7.267, allocations: 4 kB / 3.546 GB, free: 12.43 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/7.267, allocations: 0 / 3.546 GB, free: 12.43 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004712/7.267, allocations: 0.6442 MB / 3.547 GB, free: 11.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/7.269, allocations: 1.198 MB / 3.548 GB, free: 10.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/7.269, allocations: 8 kB / 3.548 GB, free: 10.42 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004467/7.269, allocations: 91.89 kB / 3.548 GB, free: 10.33 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/7.269, allocations: 4 kB / 3.548 GB, free: 10.32 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/7.269, allocations: 15.94 kB / 3.548 GB, free: 10.31 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001895/7.27, allocations: 0.5901 MB / 3.548 GB, free: 9.695 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/7.27, allocations: 7.969 kB / 3.549 GB, free: 9.688 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007243/7.27, allocations: 0.8178 MB / 3.549 GB, free: 8.785 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000221/7.271, allocations: 176.4 kB / 3.549 GB, free: 8.594 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.432e-05/7.271, allocations: 11.98 kB / 3.549 GB, free: 8.582 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004023/7.271, allocations: 35.97 kB / 3.55 GB, free: 8.547 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/7.271, allocations: 31.86 kB / 3.55 GB, free: 8.516 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/7.271, allocations: 16 kB / 3.55 GB, free: 8.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003597/7.272, allocations: 345.5 kB / 3.55 GB, free: 8.168 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-07/7.272, allocations: 0 / 3.55 GB, free: 8.168 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001493/7.273, allocations: 483 kB / 3.55 GB, free: 7.695 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 () * 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.001933/7.275, allocations: 1.384 MB / 3.552 GB, free: 6.254 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001016/7.276, allocations: 0.5698 MB / 3.552 GB, free: 5.684 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/7.276, allocations: 0 / 3.552 GB, free: 5.684 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002397/7.276, allocations: 187.9 kB / 3.552 GB, free: 5.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/7.278, allocations: 348.2 kB / 3.553 GB, free: 5.164 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/7.28, allocations: 1.069 MB / 3.554 GB, free: 4.055 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/7.28, allocations: 0.9544 MB / 3.555 GB, free: 3.07 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007952/7.281, allocations: 260.8 kB / 3.555 GB, free: 2.816 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/7.281, allocations: 43.44 kB / 3.555 GB, free: 2.777 MB / 0.948 GB Notification: Performance of SimCode: time 5.61e-07/7.281, allocations: 0 / 3.555 GB, free: 2.777 MB / 0.948 GB Notification: Performance of Templates: time 0.6962/7.977, allocations: 32.13 MB / 3.586 GB, free: 176.2 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)