Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.618/2.618, allocations: 287.5 MB / 302.4 MB, free: 8.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002047/0.002047, allocations: 185 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.302/2.302, allocations: 205.4 MB / 0.6297 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009288/0.0009287, allocations: 92.78 kB / 0.743 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006714/0.0006717, allocations: 12.28 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2213, allocations: 115.3 MB / 0.9784 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.9298/1.151, allocations: 169.9 MB / 1.144 GB, free: 12.05 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01004/1.161, allocations: 4.258 MB / 1.148 GB, free: 10.79 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/1.163, allocations: 20.41 kB / 1.148 GB, free: 10.78 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001502/1.164, allocations: 274.6 kB / 1.149 GB, free: 10.67 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004527/1.169, allocations: 0.9915 MB / 1.15 GB, free: 10.25 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002897/1.172, allocations: 0.5785 MB / 1.15 GB, free: 10.13 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004437/1.176, allocations: 2.298 MB / 1.152 GB, free: 9.508 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/1.177, allocations: 0.4988 MB / 1.153 GB, free: 9.281 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003342/1.181, allocations: 0.854 MB / 1.154 GB, free: 8.898 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001711/1.183, allocations: 0.5548 MB / 1.154 GB, free: 8.652 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002397/1.183, allocations: 32.39 kB / 1.154 GB, free: 8.648 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003638/1.187, allocations: 0.8658 MB / 1.155 GB, free: 8.344 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006768/1.187, allocations: 244.5 kB / 1.155 GB, free: 8.207 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004908/1.188, allocations: 177.9 kB / 1.156 GB, free: 8.105 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002751/1.191, allocations: 1.001 MB / 1.157 GB, free: 7.477 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.191, allocations: 0 / 1.157 GB, free: 7.477 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.527e-06/1.191, allocations: 0 / 1.157 GB, free: 7.477 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.66e-05/1.191, allocations: 0 / 1.157 GB, free: 7.477 MB / 0.698 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.002705/1.193, allocations: 0.9591 MB / 1.158 GB, free: 6.691 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/1.193, allocations: 9.469 kB / 1.158 GB, free: 6.691 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002012/1.195, allocations: 201.5 kB / 1.158 GB, free: 6.602 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/1.197, allocations: 0.5569 MB / 1.158 GB, free: 6.141 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.232e-05/1.197, allocations: 44.16 kB / 1.158 GB, free: 6.121 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/1.198, allocations: 56.97 kB / 1.158 GB, free: 6.102 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/1.199, allocations: 0.6102 MB / 1.159 GB, free: 5.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/1.199, allocations: 1.156 kB / 1.159 GB, free: 5.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.804e-05/1.199, allocations: 24.72 kB / 1.159 GB, free: 5.711 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-05/1.199, allocations: 18.25 kB / 1.159 GB, free: 5.711 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/1.201, allocations: 499.6 kB / 1.16 GB, free: 5.473 MB / 0.698 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.005385/1.206, allocations: 2.386 MB / 1.162 GB, free: 3.379 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009146/1.207, allocations: 356.3 kB / 1.162 GB, free: 3.188 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000507/1.208, allocations: 215.3 kB / 1.162 GB, free: 3.078 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009974/1.209, allocations: 320.4 kB / 1.163 GB, free: 2.766 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/1.209, allocations: 41.69 kB / 1.163 GB, free: 2.719 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 3.828e-06/1.209, allocations: 0 / 1.163 GB, free: 2.719 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.001926/1.211, allocations: 0.5395 MB / 1.163 GB, free: 2.445 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/1.211, allocations: 56 kB / 1.163 GB, free: 2.383 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009806/1.212, allocations: 0.4949 MB / 1.164 GB, free: 2.074 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001051/1.212, allocations: 39.86 kB / 1.164 GB, free: 2.031 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003944/1.212, allocations: 317 kB / 1.164 GB, free: 1.754 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002415/1.213, allocations: 131.5 kB / 1.164 GB, free: 1.641 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/1.213, allocations: 4.969 kB / 1.164 GB, free: 1.637 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002411/1.213, allocations: 371.7 kB / 1.165 GB, free: 1.277 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004335/1.213, allocations: 140.6 kB / 1.165 GB, free: 1.207 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005751/1.214, allocations: 263 kB / 1.165 GB, free: 1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005187/1.215, allocations: 183.6 kB / 1.165 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/1.215, allocations: 1.438 kB / 1.165 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001358/1.216, allocations: 486.3 kB / 1.166 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001384/1.216, allocations: 151.2 kB / 1.166 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/1.216, allocations: 3.375 kB / 1.166 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/1.216, allocations: 7.703 kB / 1.166 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/1.217, allocations: 109.3 kB / 1.166 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006041/1.218, allocations: 0.5893 MB / 1.166 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/1.219, allocations: 66.47 kB / 1.167 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.11e-05/1.219, allocations: 22.08 kB / 1.167 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/1.219, allocations: 5.062 kB / 1.167 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001126/1.22, allocations: 399.9 kB / 1.167 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/1.221, allocations: 5.297 kB / 1.167 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/1.221, allocations: 5.469 kB / 1.167 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000692/1.221, allocations: 91.83 kB / 1.167 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/1.221, allocations: 8.391 kB / 1.167 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/1.222, allocations: 70.55 kB / 1.167 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.584e-05/1.222, allocations: 16.78 kB / 1.167 GB, free: 15.54 MB / 0.7136 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.0006079/1.223, allocations: 304.8 kB / 1.167 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/1.223, allocations: 55 kB / 1.167 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/1.224, allocations: 443.9 kB / 1.168 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/1.225, allocations: 11.56 kB / 1.168 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/1.225, allocations: 1.094 kB / 1.168 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001022/1.226, allocations: 0.6547 MB / 1.169 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003285/1.229, allocations: 1.201 MB / 1.17 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/1.229, allocations: 5.953 kB / 1.17 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000927/1.23, allocations: 91.8 kB / 1.17 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/1.23, allocations: 3.281 kB / 1.17 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.052e-05/1.23, allocations: 9.625 kB / 1.17 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004613/1.23, allocations: 0.5982 MB / 1.17 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/1.231, allocations: 5.969 kB / 1.17 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/1.232, allocations: 0.7367 MB / 1.171 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005441/1.233, allocations: 172.3 kB / 1.171 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/1.233, allocations: 8.562 kB / 1.171 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008529/1.234, allocations: 44.3 kB / 1.171 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.791e-05/1.234, allocations: 27.95 kB / 1.171 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.592e-05/1.234, allocations: 14.19 kB / 1.171 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007643/1.235, allocations: 351.5 kB / 1.172 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/1.235, allocations: 0 / 1.172 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001547/1.236, allocations: 344 kB / 1.172 GB, free: 11.9 MB / 0.7136 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.0006696/1.237, allocations: 194.1 kB / 1.172 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002004/1.239, allocations: 0.5829 MB / 1.173 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/1.239, allocations: 0 / 1.173 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005672/1.24, allocations: 189.1 kB / 1.173 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003433/1.243, allocations: 365.8 kB / 1.173 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003684/1.247, allocations: 1.672 MB / 1.175 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007321/1.248, allocations: 0.9472 MB / 1.176 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001335/1.249, allocations: 201.2 kB / 1.176 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002277/1.249, allocations: 49.58 kB / 1.176 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of SimCode: time 1.393e-06/1.249, allocations: 1.906 kB / 1.176 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of Templates: time 0.03541/1.285, allocations: 11.08 MB / 1.187 GB, free: 3.594 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)