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.001416/0.001416, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001391/0.001392, allocations: 187 kB / 17.34 MB, free: 5.719 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002086/0.002086, allocations: 285.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9804/0.9804, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 95.86 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4533/0.4552, allocations: 86.98 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MassFraction): time 0.2029/0.6582, allocations: 186.8 MB / 0.9494 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007866/0.6661, allocations: 4.584 MB / 0.9539 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.6673, allocations: 35.75 kB / 0.954 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.6687, allocations: 405.5 kB / 0.9543 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003766/0.6726, allocations: 1.349 MB / 0.9557 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002183/0.6748, allocations: 0.7613 MB / 0.9564 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.4381/1.113, allocations: 1.948 MB / 0.9583 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001404/1.114, allocations: 0.6544 MB / 0.959 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00364/1.118, allocations: 1.081 MB / 0.96 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00162/1.12, allocations: 0.5856 MB / 0.9606 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001449/1.12, allocations: 68.62 kB / 0.9606 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002852/1.123, allocations: 1.382 MB / 0.962 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004143/1.123, allocations: 287.7 kB / 0.9623 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005604/1.124, allocations: 417.4 kB / 0.9627 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002622/1.126, allocations: 1.483 MB / 0.9641 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/1.126, allocations: 0 / 0.9641 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.493e-06/1.126, allocations: 0.9375 kB / 0.9641 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.356e-05/1.126, allocations: 1.078 kB / 0.9641 GB, free: 3.016 MB / 0.7169 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.001934/1.128, allocations: 1.1 MB / 0.9652 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/1.128, allocations: 9.688 kB / 0.9652 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/1.13, allocations: 201.4 kB / 0.9654 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009247/1.131, allocations: 0.6096 MB / 0.966 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.703e-05/1.131, allocations: 45.94 kB / 0.966 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.105e-05/1.131, allocations: 61.45 kB / 0.9661 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009812/1.132, allocations: 0.6176 MB / 0.9667 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/1.132, allocations: 1.875 kB / 0.9667 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.157e-05/1.132, allocations: 21.97 kB / 0.9667 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.995e-05/1.132, allocations: 21.47 kB / 0.9667 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000704/1.132, allocations: 0.4914 MB / 0.9672 GB, free: 17.98 MB / 0.7325 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.002786/1.135, allocations: 2.404 MB / 0.9696 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005599/1.136, allocations: 357.4 kB / 0.9699 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002511/1.136, allocations: 213.3 kB / 0.9701 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005407/1.137, allocations: 305.8 kB / 0.9704 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/1.137, allocations: 47.19 kB / 0.9704 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 1.954e-06/1.137, allocations: 0 / 0.9704 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=36): time 0.00101/1.138, allocations: 0.5462 MB / 0.971 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/1.138, allocations: 54.91 kB / 0.971 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00046/1.138, allocations: 0.4983 MB / 0.9715 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.056e-05/1.138, allocations: 38.67 kB / 0.9716 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000182/1.138, allocations: 318.7 kB / 0.9719 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.867e-05/1.139, allocations: 129.6 kB / 0.972 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/1.139, allocations: 88.3 kB / 0.9721 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001395/1.139, allocations: 366.2 kB / 0.9724 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/1.139, allocations: 153 kB / 0.9726 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/1.139, allocations: 256.4 kB / 0.9728 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000465/1.14, allocations: 408.4 kB / 0.9732 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/1.14, allocations: 1 kB / 0.9732 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006136/1.14, allocations: 491.3 kB / 0.9737 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/1.14, allocations: 8.156 kB / 0.9737 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/1.14, allocations: 1.203 kB / 0.9737 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/1.141, allocations: 7.25 kB / 0.9737 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005097/1.141, allocations: 105.9 kB / 0.9738 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003486/1.141, allocations: 0.5956 MB / 0.9744 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004819/1.142, allocations: 47.12 kB / 0.9744 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/1.142, allocations: 17.44 kB / 0.9744 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003835/1.142, allocations: 329.6 kB / 0.9747 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002616/1.143, allocations: 263.1 kB / 0.975 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004536/1.143, allocations: 398.3 kB / 0.9754 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.475e-06/1.143, allocations: 1 kB / 0.9754 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.000596/1.144, allocations: 488.5 kB / 0.9758 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/1.144, allocations: 14.58 kB / 0.9758 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-06/1.144, allocations: 0.875 kB / 0.9758 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.079e-06/1.144, allocations: 5.5 kB / 0.9759 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003154/1.144, allocations: 87.64 kB / 0.9759 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/1.144, allocations: 9.797 kB / 0.9759 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004354/1.144, allocations: 32.75 kB / 0.976 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/1.144, allocations: 16.89 kB / 0.976 GB, free: 14.26 MB / 0.7325 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.0001421/1.145, allocations: 208.1 kB / 0.9762 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.854e-05/1.145, allocations: 58.09 kB / 0.9762 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006361/1.145, allocations: 452 kB / 0.9767 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/1.145, allocations: 3.531 kB / 0.9767 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/1.145, allocations: 0.7812 kB / 0.9767 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005439/1.146, allocations: 0.6559 MB / 0.9773 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/1.147, allocations: 1.205 MB / 0.9785 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/1.147, allocations: 2.938 kB / 0.9785 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004189/1.148, allocations: 98.06 kB / 0.9786 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/1.148, allocations: 3.594 kB / 0.9786 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/1.148, allocations: 12.73 kB / 0.9786 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002677/1.148, allocations: 0.5986 MB / 0.9792 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.148, allocations: 1.031 kB / 0.9792 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007239/1.149, allocations: 0.7155 MB / 0.9799 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/1.149, allocations: 182.1 kB / 0.9801 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.456e-05/1.149, allocations: 10.09 kB / 0.9801 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003628/1.15, allocations: 15.12 kB / 0.9801 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/1.15, allocations: 23.73 kB / 0.9801 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/1.15, allocations: 15.06 kB / 0.9801 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003536/1.15, allocations: 357.4 kB / 0.9805 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.15, allocations: 0.75 kB / 0.9805 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008735/1.151, allocations: 344.2 kB / 0.9808 GB, free: 12.09 MB / 0.7325 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.0004518/1.151, allocations: 196 kB / 0.981 GB, free: 12 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001035/1.152, allocations: 0.5993 MB / 0.9816 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.152, allocations: 0.875 kB / 0.9816 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003096/1.153, allocations: 189.8 kB / 0.9818 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/1.154, allocations: 364.9 kB / 0.9821 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/1.156, allocations: 1.375 MB / 0.9834 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005279/1.157, allocations: 0.9391 MB / 0.9844 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/1.157, allocations: 51.7 kB / 0.9844 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/1.157, allocations: 1.203 kB / 0.9844 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of Templates: time 0.01848/1.176, allocations: 12.7 MB / 0.9968 GB, free: 9.652 MB / 0.7325 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)