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.739/1.739, allocations: 288.4 MB / 303.7 MB, free: 8.113 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.001311/0.001311, allocations: 182.9 kB / 372.3 MB, free: 10.11 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.641/1.641, allocations: 205.4 MB / 0.631 GB, free: 9.844 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.000838/0.0008381, allocations: 98.23 kB / 0.7444 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003972/0.0003974, allocations: 17.05 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2746, allocations: 115.3 MB / 0.9801 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.8335/1.108, allocations: 169.9 MB / 1.146 GB, free: 12.27 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008977/1.117, allocations: 4.264 MB / 1.15 GB, free: 10.86 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/1.118, allocations: 24.78 kB / 1.15 GB, free: 10.85 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001252/1.12, allocations: 313.4 kB / 1.151 GB, free: 10.64 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003907/1.124, allocations: 1.173 MB / 1.152 GB, free: 9.895 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002431/1.126, allocations: 0.5847 MB / 1.152 GB, free: 9.641 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003554/1.13, allocations: 2.311 MB / 1.155 GB, free: 8.453 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/1.131, allocations: 0.5368 MB / 1.155 GB, free: 8.125 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003175/1.134, allocations: 0.9129 MB / 1.156 GB, free: 7.617 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/1.135, allocations: 0.5678 MB / 1.156 GB, free: 7.305 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.003e-05/1.135, allocations: 28.66 kB / 1.157 GB, free: 7.305 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003521/1.139, allocations: 1.525 MB / 1.158 GB, free: 6.449 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003517/1.139, allocations: 246.6 kB / 1.158 GB, free: 6.293 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005629/1.14, allocations: 376.1 kB / 1.159 GB, free: 6.066 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001807/1.141, allocations: 1.061 MB / 1.16 GB, free: 5.41 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.142, allocations: 4 kB / 1.16 GB, free: 5.406 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.733e-06/1.142, allocations: 0 / 1.16 GB, free: 5.406 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.312e-05/1.142, allocations: 0 / 1.16 GB, free: 5.406 MB / 0.698 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.001811/1.143, allocations: 0.9504 MB / 1.161 GB, free: 4.621 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/1.143, allocations: 10.22 kB / 1.161 GB, free: 4.621 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/1.145, allocations: 212.8 kB / 1.161 GB, free: 4.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009815/1.146, allocations: 0.5668 MB / 1.161 GB, free: 4.047 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.364e-05/1.146, allocations: 43.75 kB / 1.161 GB, free: 4.027 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/1.146, allocations: 57 kB / 1.161 GB, free: 4.008 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/1.147, allocations: 0.6155 MB / 1.162 GB, free: 3.633 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/1.147, allocations: 7.875 kB / 1.162 GB, free: 3.625 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-05/1.147, allocations: 21.59 kB / 1.162 GB, free: 3.609 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.357e-05/1.147, allocations: 22.83 kB / 1.162 GB, free: 3.605 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000899/1.148, allocations: 491.1 kB / 1.163 GB, free: 3.375 MB / 0.698 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.003415/1.152, allocations: 2.395 MB / 1.165 GB, free: 1.273 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006192/1.152, allocations: 352 kB / 1.165 GB, free: 1.086 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/1.153, allocations: 210.7 kB / 1.165 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006246/1.153, allocations: 326.1 kB / 1.166 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.345e-05/1.153, allocations: 36.53 kB / 1.166 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 2.635e-06/1.153, allocations: 0 / 1.166 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.00121/1.154, allocations: 0.541 MB / 1.166 GB, free: 356 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/1.154, allocations: 54.56 kB / 1.166 GB, free: 292 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006994/1.155, allocations: 0.4956 MB / 1.167 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.982e-05/1.155, allocations: 32.45 kB / 1.167 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/1.156, allocations: 312.9 kB / 1.167 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/1.156, allocations: 130.7 kB / 1.167 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.37e-05/1.156, allocations: 10.03 kB / 1.167 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001879/1.156, allocations: 364 kB / 1.168 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/1.156, allocations: 147.5 kB / 1.168 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003765/1.157, allocations: 256 kB / 1.168 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006256/1.157, allocations: 407.8 kB / 1.168 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.157, allocations: 1.094 kB / 1.168 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008003/1.158, allocations: 486.5 kB / 1.169 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001115/1.158, allocations: 149.3 kB / 1.169 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/1.158, allocations: 6.688 kB / 1.169 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/1.158, allocations: 12.12 kB / 1.169 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006305/1.159, allocations: 104.9 kB / 1.169 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004328/1.159, allocations: 0.5917 MB / 1.17 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006683/1.16, allocations: 76.09 kB / 1.17 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.189e-05/1.16, allocations: 17.75 kB / 1.17 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.402e-06/1.16, allocations: 4.125 kB / 1.17 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006996/1.161, allocations: 408.6 kB / 1.17 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/1.161, allocations: 2.375 kB / 1.17 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.088e-06/1.161, allocations: 8.094 kB / 1.17 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/1.161, allocations: 92.52 kB / 1.17 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/1.161, allocations: 3.969 kB / 1.17 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004976/1.162, allocations: 63.19 kB / 1.17 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/1.162, allocations: 13.59 kB / 1.17 GB, free: 13.28 MB / 0.7136 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.0004187/1.162, allocations: 308.3 kB / 1.171 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/1.162, allocations: 59.03 kB / 1.171 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008024/1.163, allocations: 450.1 kB / 1.171 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/1.163, allocations: 4.375 kB / 1.171 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/1.163, allocations: 0 / 1.171 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007529/1.164, allocations: 0.6474 MB / 1.172 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001856/1.166, allocations: 1.211 MB / 1.173 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/1.166, allocations: 0 / 1.173 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004592/1.166, allocations: 93.77 kB / 1.173 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/1.166, allocations: 2.281 kB / 1.173 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.569e-05/1.166, allocations: 13.77 kB / 1.173 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003387/1.167, allocations: 0.5945 MB / 1.174 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/1.167, allocations: 2.406 kB / 1.174 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009179/1.167, allocations: 0.7346 MB / 1.174 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002977/1.168, allocations: 176.9 kB / 1.175 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.879e-05/1.168, allocations: 17.73 kB / 1.175 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004249/1.168, allocations: 42.69 kB / 1.175 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/1.168, allocations: 29.75 kB / 1.175 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.652e-05/1.168, allocations: 12.75 kB / 1.175 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004157/1.169, allocations: 352.2 kB / 1.175 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.61e-07/1.169, allocations: 7.344 kB / 1.175 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001054/1.17, allocations: 340.4 kB / 1.175 GB, free: 9.629 MB / 0.7136 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.0004813/1.17, allocations: 196.2 kB / 1.175 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001148/1.172, allocations: 0.5787 MB / 1.176 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/1.172, allocations: 5.125 kB / 1.176 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003151/1.172, allocations: 192.7 kB / 1.176 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/1.174, allocations: 352.6 kB / 1.177 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002411/1.176, allocations: 1.654 MB / 1.178 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005512/1.177, allocations: 0.9497 MB / 1.179 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007172/1.177, allocations: 209.4 kB / 1.179 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/1.178, allocations: 57.73 kB / 1.179 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of SimCode: time 2.084e-06/1.178, allocations: 0 / 1.179 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of Templates: time 0.02197/1.2, allocations: 11.28 MB / 1.19 GB, free: 1.273 MB / 0.7136 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)