Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.00128/0.00128, allocations: 100.8 kB / 16.29 MB, free: 6.016 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.001309/0.00131, allocations: 184 kB / 17.22 MB, free: 5.625 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.494/1.494, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.852/1.852, allocations: 292.3 MB / 0.5495 GB, free: 17.43 MB / 462.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.001444/0.001444, allocations: 71.91 kB / 0.6722 GB, free: 6.484 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2661, allocations: 114.5 MB / 0.7841 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.6984/0.9645, allocations: 186.8 MB / 0.9665 GB, free: 15.61 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.008693/0.9732, allocations: 4.531 MB / 0.9709 GB, free: 11.08 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001094/0.9744, allocations: 31.81 kB / 0.9709 GB, free: 11.05 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.9758, allocations: 401.4 kB / 0.9713 GB, free: 10.65 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003972/0.9798, allocations: 1.338 MB / 0.9726 GB, free: 9.309 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002316/0.9821, allocations: 0.7628 MB / 0.9734 GB, free: 8.551 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.002965/0.9851, allocations: 1.946 MB / 0.9753 GB, free: 6.602 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.9863, allocations: 0.6476 MB / 0.9759 GB, free: 5.938 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003338/0.9897, allocations: 1.076 MB / 0.977 GB, free: 4.875 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/0.991, allocations: 0.5842 MB / 0.9775 GB, free: 4.297 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.9912, allocations: 68 kB / 0.9776 GB, free: 4.23 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003418/0.9946, allocations: 1.38 MB / 0.9789 GB, free: 2.848 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0004481/0.9951, allocations: 287.2 kB / 0.9792 GB, free: 2.566 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0007083/0.9958, allocations: 414.1 kB / 0.9796 GB, free: 2.16 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002631/0.9984, allocations: 1.484 MB / 0.9811 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.9985, allocations: 0 / 0.9811 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.294e-06/0.9985, allocations: 0 / 0.9811 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.502e-05/0.9985, allocations: 0 / 0.9811 GB, free: 0.6719 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001887/1, allocations: 1.097 MB / 0.9821 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/1, allocations: 8.031 kB / 0.9821 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/1.002, allocations: 204.8 kB / 0.9823 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009029/1.003, allocations: 0.5715 MB / 0.9829 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.681e-05/1.003, allocations: 41.31 kB / 0.9829 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.947e-05/1.003, allocations: 52 kB / 0.983 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009637/1.004, allocations: 0.6323 MB / 0.9836 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.085e-05/1.004, allocations: 3.938 kB / 0.9836 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.426e-05/1.004, allocations: 23.09 kB / 0.9836 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.9e-05/1.004, allocations: 17.31 kB / 0.9836 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007771/1.005, allocations: 0.4969 MB / 0.9841 GB, free: 13.43 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.002951/1.008, allocations: 2.381 MB / 0.9864 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005487/1.008, allocations: 346.9 kB / 0.9868 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002906/1.008, allocations: 216 kB / 0.987 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005643/1.009, allocations: 319 kB / 0.9873 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/1.009, allocations: 34.56 kB / 0.9873 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=36): time 2.084e-06/1.009, allocations: 0 / 0.9873 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36): time 0.00118/1.01, allocations: 0.5542 MB / 0.9879 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/1.01, allocations: 55.41 kB / 0.9879 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006057/1.011, allocations: 0.4949 MB / 0.9884 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.982e-05/1.011, allocations: 33.7 kB / 0.9884 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002882/1.011, allocations: 316.5 kB / 0.9887 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/1.011, allocations: 122.2 kB / 0.9888 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/1.012, allocations: 94.03 kB / 0.9889 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000156/1.012, allocations: 370.8 kB / 0.9893 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/1.012, allocations: 150.5 kB / 0.9894 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003287/1.012, allocations: 265.8 kB / 0.9897 GB, free: 7.344 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005528/1.013, allocations: 409.7 kB / 0.9901 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.013, allocations: 4 kB / 0.9901 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000714/1.014, allocations: 472.9 kB / 0.9905 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.014, allocations: 12.02 kB / 0.9905 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/1.014, allocations: 5.938 kB / 0.9906 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/1.014, allocations: 4 kB / 0.9906 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005752/1.014, allocations: 99.83 kB / 0.9907 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003826/1.015, allocations: 0.6015 MB / 0.9912 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004443/1.015, allocations: 39.72 kB / 0.9913 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.069e-05/1.015, allocations: 23.98 kB / 0.9913 GB, free: 5.637 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004516/1.016, allocations: 328.8 kB / 0.9916 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003329/1.016, allocations: 264.3 kB / 0.9919 GB, free: 5.008 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006189/1.017, allocations: 407.5 kB / 0.9923 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.724e-06/1.017, allocations: 0 / 0.9923 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006954/1.017, allocations: 480.6 kB / 0.9927 GB, free: 4.105 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/1.017, allocations: 15.88 kB / 0.9927 GB, free: 4.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-06/1.017, allocations: 288 / 0.9927 GB, free: 4.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.999e-06/1.017, allocations: 8 kB / 0.9927 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000344/1.018, allocations: 83.91 kB / 0.9928 GB, free: 4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/1.018, allocations: 7.984 kB / 0.9928 GB, free: 3.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004042/1.018, allocations: 27.75 kB / 0.9928 GB, free: 3.965 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/1.018, allocations: 27.92 kB / 0.9929 GB, free: 3.938 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.000163/1.018, allocations: 208.1 kB / 0.9931 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/1.018, allocations: 63.19 kB / 0.9931 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007226/1.019, allocations: 444.6 kB / 0.9936 GB, free: 3.223 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/1.019, allocations: 4 kB / 0.9936 GB, free: 3.219 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.019, allocations: 0 / 0.9936 GB, free: 3.219 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006829/1.02, allocations: 0.6556 MB / 0.9942 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/1.022, allocations: 1.198 MB / 0.9954 GB, free: 1.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/1.022, allocations: 0 / 0.9954 GB, free: 1.203 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004731/1.022, allocations: 97.28 kB / 0.9955 GB, free: 1.109 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/1.022, allocations: 4 kB / 0.9955 GB, free: 1.105 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/1.022, allocations: 12 kB / 0.9955 GB, free: 1.094 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003385/1.023, allocations: 0.5979 MB / 0.9961 GB, free: 484 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.023, allocations: 0 / 0.9961 GB, free: 484 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000936/1.023, allocations: 0.7341 MB / 0.9968 GB, free: 15.7 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002303/1.024, allocations: 180.3 kB / 0.997 GB, free: 15.51 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.185e-05/1.024, allocations: 8 kB / 0.997 GB, free: 15.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003521/1.024, allocations: 15.98 kB / 0.997 GB, free: 15.48 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/1.024, allocations: 23.97 kB / 0.997 GB, free: 15.46 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-05/1.024, allocations: 16 kB / 0.997 GB, free: 15.45 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004197/1.025, allocations: 359.3 kB / 0.9974 GB, free: 15.1 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/1.025, allocations: 0 / 0.9974 GB, free: 15.1 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0008974/1.026, allocations: 347.1 kB / 0.9977 GB, free: 14.76 MB / 0.795 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.0004501/1.026, allocations: 200.1 kB / 0.9979 GB, free: 14.57 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001114/1.027, allocations: 0.5917 MB / 0.9985 GB, free: 13.98 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.027, allocations: 4.062 kB / 0.9985 GB, free: 13.97 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003138/1.028, allocations: 187.7 kB / 0.9986 GB, free: 13.79 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/1.029, allocations: 366.1 kB / 0.999 GB, free: 13.47 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/1.031, allocations: 1.319 MB / 1 GB, free: 12.11 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005401/1.032, allocations: 0.9375 MB / 1.001 GB, free: 11.14 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0005471/1.032, allocations: 203.8 kB / 1.001 GB, free: 10.95 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/1.032, allocations: 47.42 kB / 1.001 GB, free: 10.9 MB / 0.795 GB Notification: Performance of SimCode: time 3.91e-07/1.032, allocations: 0 / 1.001 GB, free: 10.9 MB / 0.795 GB Notification: Performance of Templates: time 0.02009/1.052, allocations: 11.83 MB / 1.013 GB, free: 15.36 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)