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.0008494/0.0008494, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001082/0.001083, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.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.634/1.634, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005461/0.0005461, allocations: 18 kB / 0.6737 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2541, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.6261/0.8803, allocations: 169.9 MB / 0.9532 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006032/0.8864, allocations: 4.251 MB / 0.9574 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007798/0.8872, allocations: 25.84 kB / 0.9574 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008656/0.8881, allocations: 273.5 kB / 0.9576 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002659/0.8907, allocations: 0.9975 MB / 0.9586 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001594/0.8924, allocations: 0.5769 MB / 0.9592 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00245/0.8948, allocations: 2.299 MB / 0.9614 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007008/0.8955, allocations: 0.4907 MB / 0.9619 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001795/0.8973, allocations: 0.8476 MB / 0.9627 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007391/0.8981, allocations: 0.5644 MB / 0.9633 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.273e-05/0.8982, allocations: 28.88 kB / 0.9633 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001948/0.9001, allocations: 0.8704 MB / 0.9642 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002508/0.9004, allocations: 248.1 kB / 0.9644 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.9006, allocations: 171.6 kB / 0.9646 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.9017, allocations: 0.9982 MB / 0.9655 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.9017, allocations: 1.469 kB / 0.9655 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9017, allocations: 1.859 kB / 0.9655 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.9017, allocations: 0 / 0.9655 GB, free: 3.605 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.001541/0.9033, allocations: 0.9637 MB / 0.9665 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.9033, allocations: 8.125 kB / 0.9665 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.9045, allocations: 199.4 kB / 0.9667 GB, free: 18.92 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008312/0.9054, allocations: 0.5604 MB / 0.9672 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/0.9054, allocations: 44.88 kB / 0.9673 GB, free: 18.63 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.226e-05/0.9055, allocations: 52.12 kB / 0.9673 GB, free: 18.63 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009465/0.9065, allocations: 0.6181 MB / 0.9679 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.9065, allocations: 0 / 0.9679 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.965e-05/0.9065, allocations: 23.56 kB / 0.968 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.229e-05/0.9066, allocations: 18.72 kB / 0.968 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006981/0.9073, allocations: 0.4891 MB / 0.9684 GB, free: 18.54 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.002434/0.9097, allocations: 2.393 MB / 0.9708 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004889/0.9102, allocations: 344.7 kB / 0.9711 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/0.9105, allocations: 210.8 kB / 0.9713 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005256/0.911, allocations: 325.2 kB / 0.9716 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.9111, allocations: 38.22 kB / 0.9717 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 1.713e-06/0.9111, allocations: 5.031 kB / 0.9717 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=36): time 0.001067/0.9122, allocations: 0.5443 MB / 0.9722 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.9122, allocations: 54.34 kB / 0.9722 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005301/0.9127, allocations: 0.4911 MB / 0.9727 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.9128, allocations: 32.08 kB / 0.9728 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.913, allocations: 314.7 kB / 0.9731 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.403e-05/0.9131, allocations: 133.9 kB / 0.9732 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.9131, allocations: 12.19 kB / 0.9732 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.9132, allocations: 367.2 kB / 0.9735 GB, free: 16 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.9134, allocations: 143.1 kB / 0.9737 GB, free: 16 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.9137, allocations: 262 kB / 0.9739 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.9139, allocations: 179 kB / 0.9741 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.914, allocations: 4 kB / 0.9741 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006052/0.9146, allocations: 485.2 kB / 0.9746 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.63e-05/0.9146, allocations: 152.8 kB / 0.9747 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.9147, allocations: 6.156 kB / 0.9747 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.9147, allocations: 5.812 kB / 0.9747 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005332/0.9152, allocations: 105.5 kB / 0.9748 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003227/0.9156, allocations: 0.5988 MB / 0.9754 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005463/0.9161, allocations: 72.56 kB / 0.9755 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.455e-05/0.9162, allocations: 15.25 kB / 0.9755 GB, free: 15 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.344e-06/0.9162, allocations: 6.156 kB / 0.9755 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005095/0.9167, allocations: 406.5 kB / 0.9759 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.9167, allocations: 3.344 kB / 0.9759 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.582e-06/0.9167, allocations: 5.75 kB / 0.9759 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/0.917, allocations: 84.31 kB / 0.976 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.917, allocations: 3.344 kB / 0.976 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004216/0.9175, allocations: 68.14 kB / 0.976 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.9175, allocations: 22.78 kB / 0.9761 GB, free: 14.94 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003104/0.9178, allocations: 302.5 kB / 0.9764 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.276e-05/0.9179, allocations: 55.19 kB / 0.9764 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006263/0.9185, allocations: 453.3 kB / 0.9768 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.9185, allocations: 3.219 kB / 0.9768 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.9185, allocations: 0 / 0.9768 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005563/0.9191, allocations: 0.6487 MB / 0.9775 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.9207, allocations: 1.206 MB / 0.9787 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.9207, allocations: 0 / 0.9787 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004248/0.9211, allocations: 92.28 kB / 0.9787 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.979e-06/0.9211, allocations: 7.234 kB / 0.9788 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.9212, allocations: 11.52 kB / 0.9788 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003034/0.9215, allocations: 0.5971 MB / 0.9793 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.9215, allocations: 2.594 kB / 0.9793 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008407/0.9223, allocations: 0.7376 MB / 0.9801 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000205/0.9225, allocations: 176.7 kB / 0.9802 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.095e-05/0.9226, allocations: 12.02 kB / 0.9802 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003835/0.923, allocations: 43.06 kB / 0.9803 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.9231, allocations: 22.56 kB / 0.9803 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.9231, allocations: 15.45 kB / 0.9803 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000345/0.9234, allocations: 362 kB / 0.9807 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9235, allocations: 3.938 kB / 0.9807 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009231/0.9244, allocations: 346.5 kB / 0.981 GB, free: 12.59 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.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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000473/0.9249, allocations: 192.3 kB / 0.9812 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00102/0.9259, allocations: 0.5813 MB / 0.9818 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.9259, allocations: 2.969 kB / 0.9818 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002495/0.9262, allocations: 183.8 kB / 0.9819 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/0.9277, allocations: 357.3 kB / 0.9823 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.9295, allocations: 1.672 MB / 0.9839 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/0.93, allocations: 0.9425 MB / 0.9848 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006438/0.9306, allocations: 201.5 kB / 0.985 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.9307, allocations: 48.98 kB / 0.9851 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of SimCode: time 3.7e-07/0.9307, allocations: 4 kB / 0.9851 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.01686/0.9476, allocations: 11.08 MB / 0.9959 GB, free: 4.785 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) Environment - environmentSimulation: