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.001598/0.001598, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002485/0.002485, allocations: 195 kB / 16.53 MB, free: 6.664 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.389/1.389, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.782/2.782, allocations: 472.6 MB / 0.7451 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 63.12 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3223, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.8693/1.192, allocations: 186.8 MB / 1.251 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008108/1.2, allocations: 4.567 MB / 1.255 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/1.201, allocations: 32.88 kB / 1.255 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0011/1.202, allocations: 407 kB / 1.255 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002993/1.205, allocations: 1.349 MB / 1.257 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001969/1.207, allocations: 0.7514 MB / 1.258 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002179/1.209, allocations: 1.956 MB / 1.259 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000887/1.21, allocations: 0.6547 MB / 1.26 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002665/1.213, allocations: 1.072 MB / 1.261 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009263/1.214, allocations: 0.5887 MB / 1.262 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/1.214, allocations: 63.84 kB / 1.262 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002493/1.216, allocations: 1.387 MB / 1.263 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003037/1.217, allocations: 285.4 kB / 1.263 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004403/1.217, allocations: 415 kB / 1.264 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002266/1.22, allocations: 1.461 MB / 1.265 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.22, allocations: 0.6562 kB / 1.265 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.453e-06/1.22, allocations: 3.938 kB / 1.265 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.263e-05/1.22, allocations: 0 / 1.265 GB, free: 5.504 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.001947/1.222, allocations: 1.095 MB / 1.266 GB, free: 20.85 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/1.222, allocations: 11.56 kB / 1.266 GB, free: 20.85 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/1.223, allocations: 204.8 kB / 1.266 GB, free: 20.81 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008297/1.224, allocations: 0.5737 MB / 1.267 GB, free: 20.54 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/1.224, allocations: 41.69 kB / 1.267 GB, free: 20.54 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.738e-05/1.224, allocations: 54.53 kB / 1.267 GB, free: 20.54 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/1.225, allocations: 0.6245 MB / 1.268 GB, free: 20.46 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/1.225, allocations: 1.453 kB / 1.268 GB, free: 20.46 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.631e-05/1.225, allocations: 21.34 kB / 1.268 GB, free: 20.46 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.963e-05/1.225, allocations: 22.25 kB / 1.268 GB, free: 20.46 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007723/1.226, allocations: 0.4964 MB / 1.268 GB, free: 20.45 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.002812/1.229, allocations: 2.416 MB / 1.271 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005822/1.229, allocations: 353.9 kB / 1.271 GB, free: 19.14 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002862/1.229, allocations: 218.3 kB / 1.271 GB, free: 19.13 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006225/1.23, allocations: 310.9 kB / 1.271 GB, free: 18.85 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/1.23, allocations: 39.64 kB / 1.271 GB, free: 18.81 MB / 1.014 GB Notification: Performance of pre-optimization done (n=36): time 1.643e-06/1.23, allocations: 0.875 kB / 1.271 GB, free: 18.81 MB / 1.014 GB Notification: Performance of matching and sorting (n=36): time 0.001218/1.231, allocations: 0.5481 MB / 1.272 GB, free: 18.74 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/1.231, allocations: 56.31 kB / 1.272 GB, free: 18.68 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000735/1.232, allocations: 0.4998 MB / 1.273 GB, free: 18.56 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/1.232, allocations: 32.02 kB / 1.273 GB, free: 18.53 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/1.232, allocations: 320.4 kB / 1.273 GB, free: 18.38 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/1.233, allocations: 128.8 kB / 1.273 GB, free: 18.29 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/1.233, allocations: 84.45 kB / 1.273 GB, free: 18.27 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001822/1.233, allocations: 369.8 kB / 1.273 GB, free: 17.96 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/1.233, allocations: 151.8 kB / 1.274 GB, free: 17.95 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003311/1.234, allocations: 259.8 kB / 1.274 GB, free: 17.84 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000558/1.234, allocations: 413.2 kB / 1.274 GB, free: 17.76 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/1.234, allocations: 0.9062 kB / 1.274 GB, free: 17.76 MB / 1.014 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007542/1.235, allocations: 485.6 kB / 1.275 GB, free: 17.69 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/1.235, allocations: 7.141 kB / 1.275 GB, free: 17.69 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.036e-06/1.235, allocations: 3.359 kB / 1.275 GB, free: 17.69 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/1.235, allocations: 9.609 kB / 1.275 GB, free: 17.69 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005916/1.236, allocations: 104.3 kB / 1.275 GB, free: 17.69 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003798/1.236, allocations: 0.593 MB / 1.275 GB, free: 17.11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005094/1.236, allocations: 42.83 kB / 1.275 GB, free: 17.08 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.265e-05/1.237, allocations: 23.34 kB / 1.275 GB, free: 17.08 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005456/1.237, allocations: 327.8 kB / 1.276 GB, free: 17 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000363/1.237, allocations: 258.5 kB / 1.276 GB, free: 16.89 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006253/1.238, allocations: 403 kB / 1.276 GB, free: 16.81 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.467e-06/1.238, allocations: 1.656 kB / 1.276 GB, free: 16.81 MB / 1.014 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.000799/1.239, allocations: 492.7 kB / 1.277 GB, free: 16.73 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/1.239, allocations: 7.078 kB / 1.277 GB, free: 16.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/1.239, allocations: 4.562 kB / 1.277 GB, free: 16.73 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-06/1.239, allocations: 4.969 kB / 1.277 GB, free: 16.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/1.239, allocations: 87.92 kB / 1.277 GB, free: 16.73 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/1.239, allocations: 6.188 kB / 1.277 GB, free: 16.73 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004924/1.24, allocations: 36.86 kB / 1.277 GB, free: 16.72 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.492e-05/1.24, allocations: 18.8 kB / 1.277 GB, free: 16.72 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.0002095/1.24, allocations: 206.4 kB / 1.277 GB, free: 16.54 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/1.24, allocations: 56.25 kB / 1.277 GB, free: 16.51 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009443/1.241, allocations: 453.1 kB / 1.278 GB, free: 16.45 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/1.241, allocations: 4.906 kB / 1.278 GB, free: 16.45 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/1.241, allocations: 2 kB / 1.278 GB, free: 16.45 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007609/1.242, allocations: 0.6566 MB / 1.278 GB, free: 16 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001895/1.244, allocations: 1.208 MB / 1.28 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.244, allocations: 3.297 kB / 1.28 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004967/1.244, allocations: 91.22 kB / 1.28 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/1.245, allocations: 4.219 kB / 1.28 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-05/1.245, allocations: 7.953 kB / 1.28 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00038/1.245, allocations: 0.5973 MB / 1.28 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.245, allocations: 2.156 kB / 1.28 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008998/1.246, allocations: 0.7096 MB / 1.281 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/1.246, allocations: 175.6 kB / 1.281 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.125e-05/1.246, allocations: 9.062 kB / 1.281 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003746/1.247, allocations: 19.81 kB / 1.281 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/1.247, allocations: 23.92 kB / 1.281 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/1.247, allocations: 12.53 kB / 1.281 GB, free: 14.69 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004563/1.247, allocations: 367.2 kB / 1.282 GB, free: 14.6 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/1.247, allocations: 0 / 1.282 GB, free: 14.6 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001209/1.248, allocations: 341.7 kB / 1.282 GB, free: 14.56 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.0005245/1.249, allocations: 203.8 kB / 1.282 GB, free: 14.45 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001469/1.25, allocations: 0.6389 MB / 1.283 GB, free: 14.43 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.25, allocations: 0.875 kB / 1.283 GB, free: 14.43 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003445/1.251, allocations: 192 kB / 1.283 GB, free: 14.43 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/1.253, allocations: 362.7 kB / 1.283 GB, free: 14.39 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/1.255, allocations: 1.353 MB / 1.285 GB, free: 13.84 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006593/1.256, allocations: 0.9409 MB / 1.285 GB, free: 13.14 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008719/1.257, allocations: 202.6 kB / 1.286 GB, free: 13.12 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/1.257, allocations: 49.8 kB / 1.286 GB, free: 13.11 MB / 1.014 GB Notification: Performance of SimCode: time 6.92e-07/1.257, allocations: 0.9688 kB / 1.286 GB, free: 13.11 MB / 1.014 GB Notification: Performance of Templates: time 0.02262/1.28, allocations: 11.79 MB / 1.297 GB, free: 12.4 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)