Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction") translateModel(BuildingSystems.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0009083/0.0009083, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00535/0.00535, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.349/1.349, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001707/0.001707, allocations: 263.2 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9623/0.9623, allocations: 169.5 MB / 0.5004 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004381/0.0004381, allocations: 15.14 kB / 0.5987 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1607, allocations: 88.55 MB / 0.6851 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MassFraction): time 0.4948/0.6555, allocations: 182.1 MB / 0.863 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007034/0.6626, allocations: 4.579 MB / 0.8674 GB, free: 184 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007996/0.6635, allocations: 25.62 kB / 0.8675 GB, free: 172 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.6645, allocations: 345.4 kB / 0.8678 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002973/0.6675, allocations: 1.267 MB / 0.869 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.6692, allocations: 0.6788 MB / 0.8697 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002622/0.6718, allocations: 2.754 MB / 0.8724 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007217/0.6725, allocations: 0.53 MB / 0.8729 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002697/0.6752, allocations: 0.9369 MB / 0.8738 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000922/0.6762, allocations: 0.5958 MB / 0.8744 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.38e-05/0.6762, allocations: 27.38 kB / 0.8744 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002478/0.6787, allocations: 1.561 MB / 0.8759 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002436/0.679, allocations: 240 kB / 0.8762 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003751/0.6794, allocations: 395.4 kB / 0.8765 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001665/0.681, allocations: 1.494 MB / 0.878 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.6811, allocations: 0 / 0.878 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.293e-06/0.6811, allocations: 0 / 0.878 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.6811, allocations: 0 / 0.878 GB, free: 9.523 MB / 0.5919 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.001375/0.6825, allocations: 0.9572 MB / 0.8789 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.6825, allocations: 7.938 kB / 0.8789 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.6837, allocations: 200.9 kB / 0.8791 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008027/0.6845, allocations: 0.5814 MB / 0.8797 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/0.6846, allocations: 41.94 kB / 0.8797 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.561e-05/0.6847, allocations: 51.53 kB / 0.8798 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008989/0.6856, allocations: 0.6198 MB / 0.8804 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.6856, allocations: 3.984 kB / 0.8804 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.54e-05/0.6857, allocations: 30.11 kB / 0.8804 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.66e-05/0.6857, allocations: 21.22 kB / 0.8805 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007542/0.6865, allocations: 0.4927 MB / 0.8809 GB, free: 7.266 MB / 0.5919 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.002658/0.6891, allocations: 2.396 MB / 0.8833 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006122/0.6898, allocations: 352.8 kB / 0.8836 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/0.6901, allocations: 214.9 kB / 0.8838 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005695/0.6906, allocations: 319.2 kB / 0.8841 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.6907, allocations: 43.16 kB / 0.8842 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 1.573e-06/0.6907, allocations: 3.938 kB / 0.8842 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36): time 0.001133/0.6918, allocations: 0.5454 MB / 0.8847 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.6919, allocations: 55.41 kB / 0.8848 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005499/0.6924, allocations: 0.4989 MB / 0.8852 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.926e-05/0.6925, allocations: 29.7 kB / 0.8853 GB, free: 2.516 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002248/0.6927, allocations: 323.8 kB / 0.8856 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.6928, allocations: 134.1 kB / 0.8857 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.196e-05/0.6929, allocations: 37.7 kB / 0.8857 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.6931, allocations: 366.7 kB / 0.8861 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002426/0.6933, allocations: 144.8 kB / 0.8862 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.6936, allocations: 271.6 kB / 0.8865 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005633/0.6942, allocations: 406.2 kB / 0.8869 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.6942, allocations: 0 / 0.8869 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007418/0.695, allocations: 489.2 kB / 0.8873 GB, free: 300 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001437/0.6951, allocations: 160.9 kB / 0.8875 GB, free: 104 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.6951, allocations: 4 kB / 0.8875 GB, free: 100 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.6952, allocations: 11.88 kB / 0.8875 GB, free: 88 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000578/0.6958, allocations: 91.94 kB / 0.8876 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000377/0.6961, allocations: 0.6016 MB / 0.8882 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005931/0.6967, allocations: 79.55 kB / 0.8883 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.872e-05/0.6968, allocations: 16 kB / 0.8883 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.255e-06/0.6968, allocations: 4 kB / 0.8883 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006252/0.6974, allocations: 395.6 kB / 0.8887 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.6975, allocations: 4 kB / 0.8887 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.591e-06/0.6975, allocations: 4.281 kB / 0.8887 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003595/0.6978, allocations: 95.83 kB / 0.8888 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.6978, allocations: 7.938 kB / 0.8888 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005075/0.6984, allocations: 71.55 kB / 0.8888 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.6984, allocations: 16 kB / 0.8888 GB, free: 14.69 MB / 0.6075 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.0003209/0.6987, allocations: 309.6 kB / 0.8891 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.343e-05/0.6988, allocations: 55.34 kB / 0.8892 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007033/0.6995, allocations: 443.4 kB / 0.8896 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.6996, allocations: 11.94 kB / 0.8896 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.6996, allocations: 4.062 kB / 0.8896 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006341/0.7002, allocations: 0.6558 MB / 0.8903 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/0.7019, allocations: 1.212 MB / 0.8915 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.7019, allocations: 4 kB / 0.8915 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004574/0.7024, allocations: 91.83 kB / 0.8915 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/0.7024, allocations: 7.984 kB / 0.8916 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.7024, allocations: 12 kB / 0.8916 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000284/0.7027, allocations: 0.5979 MB / 0.8922 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.7027, allocations: 0 / 0.8922 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008634/0.7036, allocations: 0.7171 MB / 0.8929 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/0.7038, allocations: 172.4 kB / 0.893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.627e-05/0.7039, allocations: 12 kB / 0.893 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00044/0.7043, allocations: 39.91 kB / 0.8931 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/0.7044, allocations: 23.97 kB / 0.8931 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.7044, allocations: 15.98 kB / 0.8931 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003891/0.7048, allocations: 358.8 kB / 0.8934 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.443e-06/0.7048, allocations: 0 / 0.8934 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009085/0.7057, allocations: 351 kB / 0.8938 GB, free: 9.379 MB / 0.6075 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.0004352/0.7062, allocations: 206 kB / 0.894 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001103/0.7073, allocations: 0.5852 MB / 0.8945 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.7073, allocations: 5.125 kB / 0.8946 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003082/0.7076, allocations: 191.4 kB / 0.8947 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/0.7096, allocations: 359.8 kB / 0.8951 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.7118, allocations: 1.663 MB / 0.8967 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004763/0.7123, allocations: 0.9417 MB / 0.8976 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006938/0.713, allocations: 204.9 kB / 0.8978 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.7131, allocations: 51.44 kB / 0.8979 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of SimCode: time 2.114e-06/0.7131, allocations: 0 / 0.8979 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of Templates: time 0.01972/0.7329, allocations: 11.37 MB / 0.909 GB, free: 9.945 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)