Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json 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/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007081/0.007081, allocations: 100.9 kB / 15.73 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 183.5 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.563/1.563, allocations: 251.7 MB / 0.5094 GB, free: 2.996 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 73.92 kB / 0.7258 GB, free: 8.977 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2707, allocations: 104.7 MB / 0.8281 GB, free: 164 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.8453/1.116, allocations: 187 MB / 1.011 GB, free: 11.56 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00959/1.126, allocations: 4.609 MB / 1.015 GB, free: 7.824 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001591/1.127, allocations: 29.19 kB / 1.015 GB, free: 7.812 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001671/1.129, allocations: 414.7 kB / 1.016 GB, free: 7.469 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.005024/1.134, allocations: 1.345 MB / 1.017 GB, free: 6.43 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002663/1.137, allocations: 0.7713 MB / 1.018 GB, free: 5.848 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.003204/1.14, allocations: 2.007 MB / 1.02 GB, free: 4.699 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001348/1.141, allocations: 0.6667 MB / 1.02 GB, free: 4.285 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003788/1.145, allocations: 1.1 MB / 1.021 GB, free: 3.625 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001413/1.147, allocations: 0.5965 MB / 1.022 GB, free: 3.277 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0002539/1.147, allocations: 64.41 kB / 1.022 GB, free: 3.277 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003368/1.15, allocations: 1.383 MB / 1.023 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0007099/1.151, allocations: 292.3 kB / 1.024 GB, free: 2.32 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.00127/1.152, allocations: 420.1 kB / 1.024 GB, free: 2.062 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.004535/1.157, allocations: 1.503 MB / 1.025 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/1.157, allocations: 0 / 1.025 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.915e-06/1.157, allocations: 6.094 kB / 1.025 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.46e-05/1.157, allocations: 0 / 1.025 GB, free: 1.113 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002863/1.16, allocations: 1.093 MB / 1.027 GB, free: 244 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/1.16, allocations: 13.47 kB / 1.027 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00169/1.162, allocations: 202.1 kB / 1.027 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/1.163, allocations: 0.6017 MB / 1.027 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.948e-05/1.163, allocations: 43.97 kB / 1.027 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/1.163, allocations: 62.09 kB / 1.027 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/1.164, allocations: 0.628 MB / 1.028 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/1.164, allocations: 3.938 kB / 1.028 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.146e-05/1.164, allocations: 21.38 kB / 1.028 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.01e-05/1.164, allocations: 19.06 kB / 1.028 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009092/1.165, allocations: 0.4966 MB / 1.029 GB, free: 14.97 MB / 0.7794 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.003594/1.169, allocations: 2.397 MB / 1.031 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006268/1.17, allocations: 353.7 kB / 1.031 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003218/1.17, allocations: 208.8 kB / 1.031 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006595/1.171, allocations: 311.2 kB / 1.032 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/1.171, allocations: 31.16 kB / 1.032 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=36): time 3.076e-06/1.171, allocations: 0 / 1.032 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36): time 0.001337/1.172, allocations: 0.5487 MB / 1.032 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/1.172, allocations: 63.28 kB / 1.032 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000765/1.173, allocations: 0.495 MB / 1.033 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.491e-05/1.173, allocations: 37.7 kB / 1.033 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002744/1.173, allocations: 312.5 kB / 1.033 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/1.173, allocations: 126.1 kB / 1.033 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/1.174, allocations: 90.03 kB / 1.033 GB, free: 10 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002023/1.174, allocations: 358.8 kB / 1.034 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/1.174, allocations: 154.5 kB / 1.034 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003518/1.174, allocations: 256.6 kB / 1.034 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005611/1.175, allocations: 402.3 kB / 1.035 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.175, allocations: 0 / 1.035 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008139/1.176, allocations: 484.5 kB / 1.035 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/1.176, allocations: 7.938 kB / 1.035 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/1.176, allocations: 4 kB / 1.035 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/1.176, allocations: 4 kB / 1.035 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005992/1.177, allocations: 111.8 kB / 1.035 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005177/1.177, allocations: 0.5941 MB / 1.036 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006137/1.178, allocations: 43.58 kB / 1.036 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.885e-05/1.178, allocations: 20 kB / 1.036 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004948/1.178, allocations: 324.9 kB / 1.036 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003354/1.179, allocations: 255.5 kB / 1.036 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005309/1.179, allocations: 408.4 kB / 1.037 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.985e-06/1.179, allocations: 1.562 kB / 1.037 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007237/1.18, allocations: 480.5 kB / 1.037 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/1.18, allocations: 4 kB / 1.037 GB, free: 5.973 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/1.18, allocations: 4 kB / 1.037 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.803e-06/1.18, allocations: 4 kB / 1.037 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003446/1.18, allocations: 91.83 kB / 1.037 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/1.18, allocations: 4 kB / 1.037 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005293/1.181, allocations: 39.67 kB / 1.037 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/1.181, allocations: 12.25 kB / 1.037 GB, free: 5.82 MB / 0.7794 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001783/1.181, allocations: 208.1 kB / 1.038 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.815e-05/1.181, allocations: 63.28 kB / 1.038 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007294/1.182, allocations: 439.6 kB / 1.038 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/1.182, allocations: 7.938 kB / 1.038 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.182, allocations: 0 / 1.038 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006121/1.183, allocations: 0.6517 MB / 1.039 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/1.184, allocations: 1.202 MB / 1.04 GB, free: 3.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.184, allocations: 0 / 1.04 GB, free: 3.078 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004825/1.185, allocations: 96.09 kB / 1.04 GB, free: 2.984 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/1.185, allocations: 8 kB / 1.04 GB, free: 2.977 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/1.185, allocations: 12 kB / 1.04 GB, free: 2.965 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003031/1.185, allocations: 0.6015 MB / 1.041 GB, free: 2.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.185, allocations: 0 / 1.041 GB, free: 2.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008724/1.186, allocations: 0.7208 MB / 1.041 GB, free: 1.578 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002506/1.186, allocations: 188.3 kB / 1.041 GB, free: 1.375 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.893e-05/1.186, allocations: 8 kB / 1.041 GB, free: 1.367 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003925/1.187, allocations: 20.05 kB / 1.041 GB, free: 1.348 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/1.187, allocations: 23.97 kB / 1.041 GB, free: 1.324 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/1.187, allocations: 16 kB / 1.041 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004097/1.187, allocations: 362.8 kB / 1.042 GB, free: 0.957 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/1.187, allocations: 0 / 1.042 GB, free: 0.957 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0009478/1.188, allocations: 347.1 kB / 1.042 GB, free: 0.6172 MB / 0.7794 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004839/1.189, allocations: 197.2 kB / 1.042 GB, free: 432 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001177/1.19, allocations: 0.5931 MB / 1.043 GB, free: 15.82 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/1.19, allocations: 0 / 1.043 GB, free: 15.82 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003016/1.19, allocations: 189.2 kB / 1.043 GB, free: 15.64 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/1.192, allocations: 358 kB / 1.043 GB, free: 15.3 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/1.194, allocations: 1.332 MB / 1.045 GB, free: 13.92 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004951/1.194, allocations: 0.9414 MB / 1.046 GB, free: 12.95 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000613/1.195, allocations: 204.9 kB / 1.046 GB, free: 12.75 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/1.195, allocations: 47.44 kB / 1.046 GB, free: 12.71 MB / 0.795 GB Notification: Performance of SimCode: time 8.12e-07/1.195, allocations: 0 / 1.046 GB, free: 12.71 MB / 0.795 GB Notification: Performance of Templates: time 0.02065/1.216, allocations: 11.98 MB / 1.058 GB, free: 0.9297 MB / 0.795 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)