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.001083/0.001083, allocations: 99.41 kB / 16.27 MB, free: 5.953 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.001067/0.001067, allocations: 185.5 kB / 17.2 MB, free: 5.59 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.478/1.478, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.779/1.779, allocations: 292.3 MB / 0.5495 GB, free: 17.47 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.001654/0.001655, allocations: 67.88 kB / 0.6722 GB, free: 6.531 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2401, allocations: 114.6 MB / 0.784 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.6431/0.8833, allocations: 186.8 MB / 0.9664 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.007469/0.8908, allocations: 4.524 MB / 0.9709 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.8919, allocations: 31.81 kB / 0.9709 GB, free: 11.08 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.8931, allocations: 407.7 kB / 0.9713 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003584/0.8967, allocations: 1.342 MB / 0.9726 GB, free: 9.336 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002006/0.8987, allocations: 0.75 MB / 0.9733 GB, free: 8.59 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.002227/0.901, allocations: 1.941 MB / 0.9752 GB, free: 6.645 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008345/0.9018, allocations: 0.6476 MB / 0.9758 GB, free: 5.98 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00288/0.9047, allocations: 1.075 MB / 0.9769 GB, free: 4.922 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009335/0.9057, allocations: 0.5875 MB / 0.9775 GB, free: 4.336 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.25e-05/0.9058, allocations: 64 kB / 0.9775 GB, free: 4.273 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002744/0.9085, allocations: 1.384 MB / 0.9789 GB, free: 2.887 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.000292/0.9088, allocations: 287.2 kB / 0.9792 GB, free: 2.605 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0004522/0.9093, allocations: 418.2 kB / 0.9796 GB, free: 2.195 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002094/0.9114, allocations: 1.465 MB / 0.981 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.9114, allocations: 3.938 kB / 0.981 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9114, allocations: 1.5 kB / 0.981 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.118e-06/0.9114, allocations: 4 kB / 0.981 GB, free: 0.7188 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.001604/0.913, allocations: 1.089 MB / 0.9821 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.9131, allocations: 12.03 kB / 0.9821 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.9143, allocations: 202.9 kB / 0.9823 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008631/0.9152, allocations: 0.5676 MB / 0.9828 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.9152, allocations: 41.31 kB / 0.9829 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.021e-05/0.9153, allocations: 52 kB / 0.9829 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009258/0.9163, allocations: 0.6245 MB / 0.9835 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.9163, allocations: 3.938 kB / 0.9835 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.19e-05/0.9163, allocations: 20 kB / 0.9835 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.248e-05/0.9164, allocations: 21.31 kB / 0.9836 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007207/0.9171, allocations: 0.4891 MB / 0.984 GB, free: 13.49 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.002689/0.9198, allocations: 2.412 MB / 0.9864 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005264/0.9203, allocations: 346.9 kB / 0.9867 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/0.9206, allocations: 216 kB / 0.9869 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005625/0.9212, allocations: 314.4 kB / 0.9872 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.9213, allocations: 38.56 kB / 0.9873 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=36): time 2.505e-06/0.9213, allocations: 4 kB / 0.9873 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36): time 0.001088/0.9224, allocations: 0.5464 MB / 0.9878 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.9224, allocations: 63.34 kB / 0.9879 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005487/0.923, allocations: 0.4949 MB / 0.9883 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.819e-05/0.923, allocations: 33.7 kB / 0.9884 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.9233, allocations: 320.5 kB / 0.9887 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.9234, allocations: 122.2 kB / 0.9888 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.9235, allocations: 86.05 kB / 0.9889 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.9237, allocations: 366.8 kB / 0.9892 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/0.9239, allocations: 150.5 kB / 0.9894 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/0.9242, allocations: 267.5 kB / 0.9896 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005116/0.9247, allocations: 409.7 kB / 0.99 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.9248, allocations: 0 / 0.99 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006682/0.9254, allocations: 484.8 kB / 0.9905 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.9255, allocations: 7.984 kB / 0.9905 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.9255, allocations: 4 kB / 0.9905 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.9255, allocations: 4 kB / 0.9905 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005617/0.9261, allocations: 95.89 kB / 0.9906 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003514/0.9264, allocations: 0.6014 MB / 0.9912 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004609/0.9269, allocations: 43.84 kB / 0.9912 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/0.9269, allocations: 19.98 kB / 0.9912 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004178/0.9274, allocations: 324.9 kB / 0.9915 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002951/0.9277, allocations: 268.2 kB / 0.9918 GB, free: 5.059 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005112/0.9282, allocations: 400.6 kB / 0.9922 GB, free: 4.637 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.786e-06/0.9282, allocations: 4 kB / 0.9922 GB, free: 4.633 MB / 0.7794 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006476/0.9289, allocations: 476.6 kB / 0.9926 GB, free: 4.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.9289, allocations: 10.09 kB / 0.9927 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.9289, allocations: 8 kB / 0.9927 GB, free: 4.145 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-06/0.9289, allocations: 4 kB / 0.9927 GB, free: 4.141 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/0.9292, allocations: 87.84 kB / 0.9927 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.9292, allocations: 7.984 kB / 0.9928 GB, free: 4.047 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004391/0.9297, allocations: 33.72 kB / 0.9928 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.9297, allocations: 26.27 kB / 0.9928 GB, free: 3.992 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.0001473/0.9299, allocations: 208.1 kB / 0.993 GB, free: 3.781 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.39e-05/0.93, allocations: 67.19 kB / 0.9931 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006737/0.9307, allocations: 447.1 kB / 0.9935 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.9307, allocations: 7.984 kB / 0.9935 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.9307, allocations: 0 / 0.9935 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005757/0.9313, allocations: 0.6479 MB / 0.9941 GB, free: 2.531 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/0.9329, allocations: 1.204 MB / 0.9953 GB, free: 1.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.9329, allocations: 0 / 0.9953 GB, free: 1.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004583/0.9333, allocations: 95.88 kB / 0.9954 GB, free: 1.156 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.9334, allocations: 4 kB / 0.9954 GB, free: 1.152 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.9334, allocations: 8 kB / 0.9954 GB, free: 1.145 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000299/0.9337, allocations: 0.5901 MB / 0.996 GB, free: 0.5312 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/0.9337, allocations: 8.75 kB / 0.996 GB, free: 0.5234 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008855/0.9346, allocations: 0.7342 MB / 0.9967 GB, free: 15.75 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.9348, allocations: 184.3 kB / 0.9969 GB, free: 15.55 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.587e-05/0.9349, allocations: 8 kB / 0.9969 GB, free: 15.54 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003617/0.9353, allocations: 9.75 kB / 0.9969 GB, free: 15.54 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.942e-05/0.9353, allocations: 28.06 kB / 0.9969 GB, free: 15.51 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.9354, allocations: 23.97 kB / 0.997 GB, free: 15.48 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003895/0.9358, allocations: 350.8 kB / 0.9973 GB, free: 15.14 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9358, allocations: 0 / 0.9973 GB, free: 15.14 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0009119/0.9367, allocations: 351.1 kB / 0.9976 GB, free: 14.8 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.0004939/0.9372, allocations: 189.3 kB / 0.9978 GB, free: 14.62 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001229/0.9384, allocations: 0.6328 MB / 0.9984 GB, free: 13.99 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.9385, allocations: 0 / 0.9984 GB, free: 13.99 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003006/0.9388, allocations: 191.7 kB / 0.9986 GB, free: 13.8 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002277/0.9411, allocations: 364.2 kB / 0.999 GB, free: 13.49 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003238/0.9443, allocations: 1.39 MB / 1 GB, free: 12.05 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007203/0.9451, allocations: 0.9336 MB / 1.001 GB, free: 11.09 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/0.9453, allocations: 55.44 kB / 1.001 GB, free: 11.04 MB / 0.795 GB Notification: Performance of SimCode: time 1.132e-06/0.9453, allocations: 0 / 1.001 GB, free: 11.04 MB / 0.795 GB Notification: Performance of Templates: time 0.02725/0.9726, allocations: 12.61 MB / 1.014 GB, free: 14.62 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)