Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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_1.6_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001535/0.001535, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00196/0.00196, allocations: 195.1 kB / 16.14 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.784/2.784, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 67.39 kB / 0.9113 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3431, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.2107/0.5538, allocations: 184.6 MB / 1.248 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7448/1.299, allocations: 4.612 MB / 1.252 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/1.3, allocations: 28.47 kB / 1.252 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001295/1.301, allocations: 343.4 kB / 1.253 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004228/1.306, allocations: 1.276 MB / 1.254 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002416/1.308, allocations: 0.6689 MB / 1.255 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004089/1.312, allocations: 2.753 MB / 1.257 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/1.313, allocations: 0.5533 MB / 1.258 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003728/1.317, allocations: 0.9626 MB / 1.259 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001523/1.318, allocations: 0.6123 MB / 1.259 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001104/1.319, allocations: 34.34 kB / 1.259 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004326/1.323, allocations: 1.556 MB / 1.261 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005173/1.323, allocations: 260.9 kB / 1.261 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007755/1.324, allocations: 383.6 kB / 1.261 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003132/1.327, allocations: 1.513 MB / 1.263 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/1.327, allocations: 0 / 1.263 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.71e-07/1.327, allocations: 1.203 kB / 1.263 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.061e-05/1.327, allocations: 0 / 1.263 GB, free: 5.328 MB / 0.9981 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.001974/1.329, allocations: 1.093 MB / 1.264 GB, free: 20.67 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/1.329, allocations: 8.562 kB / 1.264 GB, free: 20.67 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001315/1.331, allocations: 206.8 kB / 1.264 GB, free: 20.63 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009652/1.332, allocations: 0.5827 MB / 1.265 GB, free: 20.36 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.439e-05/1.332, allocations: 41.44 kB / 1.265 GB, free: 20.35 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.216e-05/1.332, allocations: 52.41 kB / 1.265 GB, free: 20.35 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/1.333, allocations: 0.627 MB / 1.265 GB, free: 20.27 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/1.333, allocations: 1.875 kB / 1.265 GB, free: 20.27 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.455e-05/1.333, allocations: 22.75 kB / 1.266 GB, free: 20.27 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-05/1.333, allocations: 20.03 kB / 1.266 GB, free: 20.27 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008471/1.334, allocations: 0.4927 MB / 1.266 GB, free: 20.27 MB / 1.014 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.003117/1.337, allocations: 2.393 MB / 1.268 GB, free: 18.97 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000612/1.338, allocations: 355.5 kB / 1.269 GB, free: 18.95 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002957/1.338, allocations: 208.5 kB / 1.269 GB, free: 18.94 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006146/1.339, allocations: 309.4 kB / 1.269 GB, free: 18.65 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/1.339, allocations: 37.77 kB / 1.269 GB, free: 18.61 MB / 1.014 GB Notification: Performance of pre-optimization done (n=36): time 2.395e-06/1.339, allocations: 1.094 kB / 1.269 GB, free: 18.61 MB / 1.014 GB Notification: Performance of matching and sorting (n=36): time 0.001426/1.34, allocations: 0.554 MB / 1.27 GB, free: 18.55 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/1.34, allocations: 59.72 kB / 1.27 GB, free: 18.48 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007468/1.341, allocations: 0.4961 MB / 1.27 GB, free: 18.36 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.266e-05/1.341, allocations: 36.55 kB / 1.27 GB, free: 18.33 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002458/1.341, allocations: 314.4 kB / 1.271 GB, free: 18.18 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/1.341, allocations: 130.6 kB / 1.271 GB, free: 18.09 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/1.342, allocations: 80.8 kB / 1.271 GB, free: 18.07 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001835/1.342, allocations: 370.8 kB / 1.271 GB, free: 17.76 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/1.342, allocations: 154.1 kB / 1.271 GB, free: 17.75 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003462/1.342, allocations: 261.5 kB / 1.272 GB, free: 17.64 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005829/1.343, allocations: 412 kB / 1.272 GB, free: 17.55 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.343, allocations: 1.281 kB / 1.272 GB, free: 17.55 MB / 1.014 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007909/1.344, allocations: 486.3 kB / 1.272 GB, free: 17.48 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/1.344, allocations: 5.844 kB / 1.272 GB, free: 17.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/1.344, allocations: 7.375 kB / 1.272 GB, free: 17.47 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/1.344, allocations: 4.922 kB / 1.272 GB, free: 17.47 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006075/1.344, allocations: 100.7 kB / 1.273 GB, free: 17.47 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004058/1.345, allocations: 0.5953 MB / 1.273 GB, free: 16.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006245/1.346, allocations: 76.05 kB / 1.273 GB, free: 16.86 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.414e-05/1.346, allocations: 23.03 kB / 1.273 GB, free: 16.86 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00048/1.346, allocations: 330 kB / 1.274 GB, free: 16.77 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003395/1.346, allocations: 258.2 kB / 1.274 GB, free: 16.67 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005648/1.347, allocations: 406 kB / 1.274 GB, free: 16.58 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.675e-06/1.347, allocations: 0.625 kB / 1.274 GB, free: 16.58 MB / 1.014 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.000768/1.348, allocations: 486.9 kB / 1.275 GB, free: 16.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/1.348, allocations: 9.562 kB / 1.275 GB, free: 16.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/1.348, allocations: 4.172 kB / 1.275 GB, free: 16.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.133e-06/1.348, allocations: 4.438 kB / 1.275 GB, free: 16.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004375/1.348, allocations: 91.77 kB / 1.275 GB, free: 16.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/1.348, allocations: 8.844 kB / 1.275 GB, free: 16.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006022/1.349, allocations: 65.16 kB / 1.275 GB, free: 16.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.876e-05/1.349, allocations: 19.61 kB / 1.275 GB, free: 16.48 MB / 1.014 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.0001879/1.349, allocations: 205.3 kB / 1.275 GB, free: 16.3 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/1.349, allocations: 59.12 kB / 1.275 GB, free: 16.27 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009372/1.35, allocations: 447 kB / 1.276 GB, free: 16.21 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/1.35, allocations: 8.531 kB / 1.276 GB, free: 16.21 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/1.35, allocations: 0 / 1.276 GB, free: 16.21 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007892/1.351, allocations: 0.6564 MB / 1.276 GB, free: 15.76 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/1.353, allocations: 1.21 MB / 1.277 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/1.353, allocations: 3.578 kB / 1.277 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004772/1.354, allocations: 91.25 kB / 1.277 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-06/1.354, allocations: 3.75 kB / 1.277 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.322e-05/1.354, allocations: 10.56 kB / 1.277 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003372/1.354, allocations: 0.5925 MB / 1.278 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.354, allocations: 6.562 kB / 1.278 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009487/1.355, allocations: 0.7012 MB / 1.279 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002383/1.355, allocations: 179 kB / 1.279 GB, free: 14.44 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.214e-05/1.355, allocations: 13.61 kB / 1.279 GB, free: 14.44 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004609/1.356, allocations: 45.78 kB / 1.279 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.408e-05/1.356, allocations: 27.8 kB / 1.279 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.169e-05/1.356, allocations: 14.38 kB / 1.279 GB, free: 14.43 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004575/1.356, allocations: 359.7 kB / 1.279 GB, free: 14.34 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.356, allocations: 0 / 1.279 GB, free: 14.34 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001165/1.357, allocations: 344.2 kB / 1.28 GB, free: 14.3 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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.0005142/1.358, allocations: 200.1 kB / 1.28 GB, free: 14.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001302/1.359, allocations: 0.5964 MB / 1.28 GB, free: 14.18 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.359, allocations: 1.406 kB / 1.28 GB, free: 14.18 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003386/1.36, allocations: 188.4 kB / 1.281 GB, free: 14.18 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/1.361, allocations: 360.7 kB / 1.281 GB, free: 14.16 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/1.364, allocations: 1.572 MB / 1.282 GB, free: 13.26 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006734/1.364, allocations: 0.941 MB / 1.283 GB, free: 12.55 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008142/1.365, allocations: 210.9 kB / 1.284 GB, free: 12.52 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/1.365, allocations: 51.34 kB / 1.284 GB, free: 12.52 MB / 1.014 GB Notification: Performance of SimCode: time 5.51e-07/1.365, allocations: 1.219 kB / 1.284 GB, free: 12.52 MB / 1.014 GB Notification: Performance of Templates: time 0.02153/1.387, allocations: 11.42 MB / 1.295 GB, free: 11.82 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)