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.005673/0.005673, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001131/0.001131, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.471/1.471, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.449/1.449, allocations: 251.7 MB / 0.5094 GB, free: 432 kB / 430.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.001482/0.001482, allocations: 75.91 kB / 0.7258 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6526/0.6541, allocations: 104.7 MB / 0.828 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.2303/0.8844, allocations: 187 MB / 1.011 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.008694/0.8931, allocations: 4.625 MB / 1.015 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000964/0.8941, allocations: 27.81 kB / 1.015 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.8953, allocations: 425.5 kB / 1.016 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.003397/0.8987, allocations: 1.4 MB / 1.017 GB, free: 432 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002108/0.9009, allocations: 0.7811 MB / 1.018 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002518/0.9034, allocations: 2.008 MB / 1.02 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008927/0.9043, allocations: 0.6671 MB / 1.02 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002871/0.9072, allocations: 1.135 MB / 1.021 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008651/0.908, allocations: 0.5902 MB / 1.022 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.532e-05/0.9082, allocations: 68 kB / 1.022 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00268/0.9108, allocations: 1.395 MB / 1.023 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003298/0.9112, allocations: 299.2 kB / 1.024 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004973/0.9117, allocations: 422.1 kB / 1.024 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002305/0.914, allocations: 1.498 MB / 1.026 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.914, allocations: 0 / 1.026 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.293e-06/0.914, allocations: 0 / 1.026 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.914, allocations: 0 / 1.026 GB, free: 7.566 MB / 0.8262 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.001642/0.9157, allocations: 1.094 MB / 1.027 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.9158, allocations: 8.031 kB / 1.027 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.917, allocations: 206.8 kB / 1.027 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.918, allocations: 0.6143 MB / 1.027 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/0.9181, allocations: 37.31 kB / 1.028 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.522e-05/0.9182, allocations: 56 kB / 1.028 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009596/0.9192, allocations: 0.6323 MB / 1.028 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.9192, allocations: 0 / 1.028 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.644e-05/0.9192, allocations: 31.92 kB / 1.028 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/0.9193, allocations: 21.25 kB / 1.028 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007934/0.9201, allocations: 0.4892 MB / 1.029 GB, free: 4.273 MB / 0.8262 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.002916/0.923, allocations: 2.396 MB / 1.031 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005619/0.9236, allocations: 346.8 kB / 1.031 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/0.9239, allocations: 224.1 kB / 1.032 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005676/0.9245, allocations: 307.2 kB / 1.032 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.9245, allocations: 42.42 kB / 1.032 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=36): time 1.953e-06/0.9245, allocations: 0 / 1.032 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36): time 0.001106/0.9257, allocations: 0.5413 MB / 1.032 GB, free: 152 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.9257, allocations: 59.39 kB / 1.033 GB, free: 80 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005768/0.9263, allocations: 0.4911 MB / 1.033 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.033e-05/0.9264, allocations: 33.7 kB / 1.033 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/0.9266, allocations: 316.4 kB / 1.033 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.9267, allocations: 130.2 kB / 1.033 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.9269, allocations: 86.05 kB / 1.034 GB, free: 15 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.927, allocations: 366.8 kB / 1.034 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.9273, allocations: 154.4 kB / 1.034 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003208/0.9276, allocations: 255.8 kB / 1.034 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000571/0.9282, allocations: 406.8 kB / 1.035 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.9282, allocations: 0 / 1.035 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007184/0.9289, allocations: 476.5 kB / 1.035 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.929, allocations: 12.28 kB / 1.035 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.929, allocations: 0 / 1.035 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.703e-05/0.929, allocations: 7.938 kB / 1.035 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005879/0.9296, allocations: 103.9 kB / 1.035 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004155/0.93, allocations: 0.5899 MB / 1.036 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004561/0.9305, allocations: 47.61 kB / 1.036 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.9306, allocations: 20 kB / 1.036 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004217/0.931, allocations: 328.9 kB / 1.036 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003026/0.9313, allocations: 247.4 kB / 1.036 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005359/0.9318, allocations: 404.5 kB / 1.037 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/0.9318, allocations: 0 / 1.037 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006818/0.9325, allocations: 480.5 kB / 1.037 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.9326, allocations: 8 kB / 1.037 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.9326, allocations: 0 / 1.037 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.601e-06/0.9326, allocations: 4.281 kB / 1.037 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/0.9329, allocations: 91.89 kB / 1.037 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.9329, allocations: 11.94 kB / 1.037 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003913/0.9333, allocations: 31.73 kB / 1.037 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/0.9334, allocations: 23.94 kB / 1.037 GB, free: 10.82 MB / 0.8419 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.0001672/0.9336, allocations: 208.1 kB / 1.038 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.676e-05/0.9337, allocations: 59.33 kB / 1.038 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000745/0.9344, allocations: 439.4 kB / 1.038 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.9344, allocations: 0 / 1.038 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.9344, allocations: 4 kB / 1.038 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006565/0.9351, allocations: 0.644 MB / 1.039 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/0.9368, allocations: 1.205 MB / 1.04 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.9368, allocations: 8 kB / 1.04 GB, free: 8.086 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004637/0.9373, allocations: 99.75 kB / 1.04 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.9373, allocations: 4 kB / 1.04 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-05/0.9374, allocations: 12 kB / 1.04 GB, free: 7.973 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003581/0.9377, allocations: 0.5978 MB / 1.041 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.9377, allocations: 0 / 1.041 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009763/0.9387, allocations: 0.7322 MB / 1.041 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002446/0.939, allocations: 176.4 kB / 1.042 GB, free: 6.391 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.753e-05/0.9391, allocations: 11.91 kB / 1.042 GB, free: 6.379 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003897/0.9395, allocations: 22.73 kB / 1.042 GB, free: 6.359 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.81e-05/0.9395, allocations: 23.91 kB / 1.042 GB, free: 6.336 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.9396, allocations: 19.98 kB / 1.042 GB, free: 6.316 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004457/0.94, allocations: 354.8 kB / 1.042 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.94, allocations: 0 / 1.042 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009658/0.941, allocations: 351.2 kB / 1.042 GB, free: 5.629 MB / 0.8419 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.0005105/0.9415, allocations: 189.9 kB / 1.042 GB, free: 5.441 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001185/0.9427, allocations: 0.5859 MB / 1.043 GB, free: 4.855 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.9427, allocations: 320 / 1.043 GB, free: 4.855 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003242/0.9431, allocations: 191.7 kB / 1.043 GB, free: 4.668 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.9446, allocations: 363.7 kB / 1.044 GB, free: 4.32 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.947, allocations: 1.318 MB / 1.045 GB, free: 2.953 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006402/0.9477, allocations: 0.9451 MB / 1.046 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0007129/0.9484, allocations: 204.9 kB / 1.046 GB, free: 1.781 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.9486, allocations: 47.44 kB / 1.046 GB, free: 1.734 MB / 0.8419 GB Notification: Performance of SimCode: time 6.51e-07/0.9486, allocations: 3.938 kB / 1.046 GB, free: 1.73 MB / 0.8419 GB Notification: Performance of Templates: time 0.02288/0.9714, allocations: 12 MB / 1.058 GB, free: 5.941 MB / 0.8575 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)