Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.319/2.319, allocations: 391.2 MB / 407 MB, free: 10.8 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 186.1 kB / 499.1 MB, free: 4.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 222.9 MB / 0.7948 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 117.6 kB / 0.9329 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 56.8 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2537, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.1628/0.4165, allocations: 184.6 MB / 1.398 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.008037/0.4246, allocations: 4.631 MB / 1.403 GB, free: 7.312 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.4257, allocations: 27.81 kB / 1.403 GB, free: 7.285 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.4268, allocations: 342.1 kB / 1.403 GB, free: 6.949 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.003156/0.43, allocations: 1.272 MB / 1.404 GB, free: 5.672 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001891/0.4319, allocations: 0.6807 MB / 1.405 GB, free: 4.996 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.002849/0.4348, allocations: 2.752 MB / 1.408 GB, free: 2.234 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007405/0.4355, allocations: 0.5549 MB / 1.408 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003164/0.4387, allocations: 0.9646 MB / 1.409 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00107/0.4398, allocations: 0.6082 MB / 1.41 GB, free: 104 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 8.474e-05/0.4399, allocations: 36 kB / 1.41 GB, free: 68 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002668/0.4425, allocations: 1.559 MB / 1.411 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002589/0.4428, allocations: 259.2 kB / 1.412 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0003964/0.4432, allocations: 386.1 kB / 1.412 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001846/0.4451, allocations: 1.507 MB / 1.414 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4451, allocations: 0 / 1.414 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4451, allocations: 7.938 kB / 1.414 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.4451, allocations: 0 / 1.414 GB, free: 12.35 MB / 0.9167 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.001624/0.4467, allocations: 1.094 MB / 1.415 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.4468, allocations: 11.98 kB / 1.415 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.448, allocations: 210.8 kB / 1.415 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009444/0.4489, allocations: 0.5793 MB / 1.415 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/0.449, allocations: 41.31 kB / 1.415 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.665e-05/0.4491, allocations: 56 kB / 1.415 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009015/0.45, allocations: 0.6206 MB / 1.416 GB, free: 9.633 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.45, allocations: 3.938 kB / 1.416 GB, free: 9.629 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.054e-05/0.4501, allocations: 24 kB / 1.416 GB, free: 9.605 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.832e-05/0.4501, allocations: 17.31 kB / 1.416 GB, free: 9.59 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007391/0.4508, allocations: 0.4969 MB / 1.417 GB, free: 9.09 MB / 0.9167 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.002747/0.4536, allocations: 2.392 MB / 1.419 GB, free: 6.488 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005751/0.4542, allocations: 364 kB / 1.419 GB, free: 6.125 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/0.4545, allocations: 209.6 kB / 1.419 GB, free: 5.918 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005504/0.455, allocations: 303.2 kB / 1.42 GB, free: 5.566 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.4551, allocations: 38.56 kB / 1.42 GB, free: 5.52 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=36): time 1.833e-06/0.4551, allocations: 0 / 1.42 GB, free: 5.52 MB / 0.9167 GB Notification: Performance of matching and sorting (n=36): time 0.001055/0.4561, allocations: 0.5479 MB / 1.42 GB, free: 4.965 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.4562, allocations: 59.27 kB / 1.42 GB, free: 4.895 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005289/0.4567, allocations: 0.5065 MB / 1.421 GB, free: 4.375 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.678e-05/0.4568, allocations: 33.7 kB / 1.421 GB, free: 4.336 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/0.457, allocations: 319.8 kB / 1.421 GB, free: 4.02 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.4571, allocations: 130.2 kB / 1.421 GB, free: 3.891 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.4572, allocations: 86.03 kB / 1.421 GB, free: 3.801 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.4574, allocations: 362.8 kB / 1.422 GB, free: 3.438 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.4576, allocations: 150.5 kB / 1.422 GB, free: 3.289 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000303/0.4579, allocations: 271.7 kB / 1.422 GB, free: 2.984 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004995/0.4584, allocations: 404.9 kB / 1.423 GB, free: 2.562 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4584, allocations: 0 / 1.423 GB, free: 2.562 MB / 0.9167 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006574/0.4591, allocations: 489.1 kB / 1.423 GB, free: 2.078 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.4591, allocations: 5.25 kB / 1.423 GB, free: 2.074 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.4591, allocations: 4 kB / 1.423 GB, free: 2.07 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.4591, allocations: 4 kB / 1.423 GB, free: 2.066 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005354/0.4597, allocations: 107.8 kB / 1.423 GB, free: 1.961 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003673/0.4601, allocations: 0.5938 MB / 1.424 GB, free: 1.344 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000562/0.4606, allocations: 79.67 kB / 1.424 GB, free: 1.266 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.856e-05/0.4607, allocations: 19.94 kB / 1.424 GB, free: 1.246 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004079/0.4611, allocations: 328.9 kB / 1.424 GB, free: 0.9219 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002839/0.4614, allocations: 255.4 kB / 1.424 GB, free: 0.6289 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004789/0.4619, allocations: 404.6 kB / 1.425 GB, free: 208 kB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.675e-06/0.4619, allocations: 4 kB / 1.425 GB, free: 204 kB / 0.9167 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.5246/0.9865, allocations: 478.4 kB / 1.425 GB, free: 207.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.9865, allocations: 6.188 kB / 1.425 GB, free: 207.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.9865, allocations: 8.281 kB / 1.425 GB, free: 207.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.9866, allocations: 3.875 kB / 1.425 GB, free: 207.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003967/0.987, allocations: 88.77 kB / 1.425 GB, free: 207.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.987, allocations: 6.516 kB / 1.425 GB, free: 207.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006446/0.9876, allocations: 65.89 kB / 1.425 GB, free: 207.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.61e-05/0.9877, allocations: 18.3 kB / 1.425 GB, free: 207.4 MB / 0.9167 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.0001531/0.9878, allocations: 208.1 kB / 1.426 GB, free: 207.2 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.988, allocations: 60.81 kB / 1.426 GB, free: 207.2 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008597/0.9888, allocations: 442.3 kB / 1.426 GB, free: 207.2 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.9888, allocations: 3.656 kB / 1.426 GB, free: 207.2 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.9889, allocations: 3.328 kB / 1.426 GB, free: 207.2 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005695/0.9894, allocations: 0.6608 MB / 1.427 GB, free: 206.7 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001842/0.9913, allocations: 1.208 MB / 1.428 GB, free: 206.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.9913, allocations: 7.484 kB / 1.428 GB, free: 206.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004714/0.9918, allocations: 90.5 kB / 1.428 GB, free: 206.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.295e-06/0.9918, allocations: 7.375 kB / 1.428 GB, free: 206.2 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/0.9918, allocations: 9.719 kB / 1.428 GB, free: 206.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002002/0.992, allocations: 0.5892 MB / 1.429 GB, free: 205.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.9921, allocations: 10.64 kB / 1.429 GB, free: 205.6 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005833/0.9979, allocations: 3.733 MB / 1.432 GB, free: 203.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002335/0.9982, allocations: 176.4 kB / 1.432 GB, free: 203.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.278e-05/0.9982, allocations: 14.66 kB / 1.432 GB, free: 203.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004253/0.9987, allocations: 35.92 kB / 1.432 GB, free: 203.2 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.523e-05/0.9987, allocations: 32.62 kB / 1.433 GB, free: 203.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/0.9988, allocations: 15.41 kB / 1.433 GB, free: 203.2 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004372/0.9992, allocations: 360.4 kB / 1.433 GB, free: 203 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9992, allocations: 0 / 1.433 GB, free: 203 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001904/1.001, allocations: 0.5379 MB / 1.433 GB, free: 202.9 MB / 0.9167 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.0004742/1.002, allocations: 206.8 kB / 1.434 GB, free: 202.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001284/1.003, allocations: 0.5854 MB / 1.434 GB, free: 202.6 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.003, allocations: 0.8125 kB / 1.434 GB, free: 202.6 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003246/1.003, allocations: 199.2 kB / 1.434 GB, free: 202.6 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001922/1.005, allocations: 354.8 kB / 1.435 GB, free: 202.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/1.008, allocations: 1.841 MB / 1.437 GB, free: 201.4 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000522/1.008, allocations: 0.9548 MB / 1.437 GB, free: 200.6 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0008415/1.009, allocations: 215.9 kB / 1.438 GB, free: 200.6 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/1.009, allocations: 55.34 kB / 1.438 GB, free: 200.6 MB / 0.9167 GB Notification: Performance of SimCode: time 6.91e-07/1.009, allocations: 0 / 1.438 GB, free: 200.6 MB / 0.9167 GB Notification: Performance of Templates: time 0.02932/1.039, allocations: 12.6 MB / 1.45 GB, free: 197.1 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)