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.965/2.965, allocations: 287.3 MB / 302.3 MB, free: 8.336 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.001502/0.001502, allocations: 186.9 kB / 370.8 MB, free: 10.85 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.095/2.095, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001104/0.001104, allocations: 98.34 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005112/0.0005113, allocations: 17.53 kB / 0.8656 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2192, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.9039/1.123, allocations: 155.3 MB / 1.13 GB, free: 15.91 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01043/1.134, allocations: 4.41 MB / 1.134 GB, free: 15.57 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/1.135, allocations: 24.62 kB / 1.134 GB, free: 15.55 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002256/1.137, allocations: 433.7 kB / 1.135 GB, free: 15.48 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006238/1.144, allocations: 1.222 MB / 1.136 GB, free: 15.41 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004032/1.148, allocations: 0.8456 MB / 1.137 GB, free: 15.38 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003095/1.151, allocations: 1.111 MB / 1.138 GB, free: 15.33 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001302/1.152, allocations: 0.5035 MB / 1.138 GB, free: 15.23 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00278/1.155, allocations: 0.7239 MB / 1.139 GB, free: 15.14 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/1.156, allocations: 368.7 kB / 1.139 GB, free: 15.06 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000191/1.157, allocations: 29.09 kB / 1.139 GB, free: 15.06 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002983/1.16, allocations: 0.686 MB / 1.14 GB, free: 15.04 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000581/1.16, allocations: 228 kB / 1.14 GB, free: 15.01 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004407/1.161, allocations: 175.8 kB / 1.14 GB, free: 14.95 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002525/1.163, allocations: 0.9153 MB / 1.141 GB, free: 14.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/1.163, allocations: 1.688 kB / 1.141 GB, free: 14.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.296e-06/1.163, allocations: 0 / 1.141 GB, free: 14.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.706e-05/1.163, allocations: 0 / 1.141 GB, free: 14.7 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.002554/1.166, allocations: 0.9345 MB / 1.142 GB, free: 14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/1.166, allocations: 8.719 kB / 1.142 GB, free: 14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002082/1.168, allocations: 202.1 kB / 1.142 GB, free: 13.92 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001744/1.17, allocations: 0.5556 MB / 1.143 GB, free: 13.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.921e-05/1.17, allocations: 44.59 kB / 1.143 GB, free: 13.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/1.17, allocations: 54.78 kB / 1.143 GB, free: 13.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/1.172, allocations: 0.6091 MB / 1.144 GB, free: 13.36 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.124e-05/1.172, allocations: 0 / 1.144 GB, free: 13.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.124e-05/1.172, allocations: 26.08 kB / 1.144 GB, free: 13.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.888e-05/1.172, allocations: 18.84 kB / 1.144 GB, free: 13.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/1.173, allocations: 0.494 MB / 1.144 GB, free: 13.27 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.004921/1.178, allocations: 2.386 MB / 1.146 GB, free: 11.59 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009386/1.179, allocations: 359.8 kB / 1.147 GB, free: 11.52 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006357/1.18, allocations: 146.6 kB / 1.147 GB, free: 11.41 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/1.18, allocations: 37 kB / 1.147 GB, free: 11.37 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 2.986e-06/1.18, allocations: 1.75 kB / 1.147 GB, free: 11.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.001938/1.182, allocations: 0.5443 MB / 1.147 GB, free: 11.23 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/1.182, allocations: 67.47 kB / 1.148 GB, free: 11.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009337/1.183, allocations: 494.4 kB / 1.148 GB, free: 10.97 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001276/1.183, allocations: 35.67 kB / 1.148 GB, free: 10.94 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003128/1.183, allocations: 316.9 kB / 1.148 GB, free: 10.76 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/1.184, allocations: 124.5 kB / 1.148 GB, free: 10.67 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/1.184, allocations: 8.312 kB / 1.148 GB, free: 10.67 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002259/1.184, allocations: 367.9 kB / 1.149 GB, free: 10.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003938/1.184, allocations: 141.4 kB / 1.149 GB, free: 10.31 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005829/1.185, allocations: 262.9 kB / 1.149 GB, free: 10.16 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004805/1.185, allocations: 181.4 kB / 1.149 GB, free: 10.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/1.185, allocations: 0 / 1.149 GB, free: 10.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001279/1.187, allocations: 490 kB / 1.15 GB, free: 10.01 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004012/1.187, allocations: 0.8758 MB / 1.151 GB, free: 9.094 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/1.187, allocations: 6.141 kB / 1.151 GB, free: 9.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/1.187, allocations: 7.062 kB / 1.151 GB, free: 9.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/1.188, allocations: 101.7 kB / 1.151 GB, free: 9.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000508/1.189, allocations: 0.5973 MB / 1.151 GB, free: 8.473 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/1.19, allocations: 71.19 kB / 1.151 GB, free: 8.438 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.317e-05/1.19, allocations: 17.66 kB / 1.152 GB, free: 8.438 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/1.19, allocations: 8.938 kB / 1.152 GB, free: 8.434 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001069/1.191, allocations: 400.5 kB / 1.152 GB, free: 8.371 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/1.191, allocations: 2.094 kB / 1.152 GB, free: 8.371 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/1.191, allocations: 8.266 kB / 1.152 GB, free: 8.367 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000695/1.192, allocations: 88.72 kB / 1.152 GB, free: 8.352 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/1.192, allocations: 7.406 kB / 1.152 GB, free: 8.348 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/1.193, allocations: 65.14 kB / 1.152 GB, free: 8.316 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.822e-05/1.193, allocations: 15.16 kB / 1.152 GB, free: 8.316 MB / 0.698 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.0005986/1.194, allocations: 315.9 kB / 1.152 GB, free: 8.102 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/1.194, allocations: 63.3 kB / 1.152 GB, free: 8.066 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/1.195, allocations: 441.4 kB / 1.153 GB, free: 7.945 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-06/1.195, allocations: 8.875 kB / 1.153 GB, free: 7.941 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/1.195, allocations: 0 / 1.153 GB, free: 7.941 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009514/1.196, allocations: 0.6532 MB / 1.154 GB, free: 7.457 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003017/1.199, allocations: 1.195 MB / 1.155 GB, free: 6.875 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/1.199, allocations: 2.188 kB / 1.155 GB, free: 6.875 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009318/1.2, allocations: 99.72 kB / 1.155 GB, free: 6.852 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/1.2, allocations: 7.094 kB / 1.155 GB, free: 6.848 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.933e-05/1.2, allocations: 7.938 kB / 1.155 GB, free: 6.848 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004163/1.201, allocations: 0.5939 MB / 1.155 GB, free: 6.254 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/1.201, allocations: 2.031 kB / 1.155 GB, free: 6.254 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/1.202, allocations: 0.8135 MB / 1.156 GB, free: 5.734 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005589/1.203, allocations: 180 kB / 1.156 GB, free: 5.57 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/1.203, allocations: 8 kB / 1.156 GB, free: 5.566 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008223/1.204, allocations: 46.31 kB / 1.156 GB, free: 5.543 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.51e-05/1.204, allocations: 28.44 kB / 1.156 GB, free: 5.527 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.426e-05/1.204, allocations: 17.58 kB / 1.156 GB, free: 5.52 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000709/1.205, allocations: 350.8 kB / 1.157 GB, free: 5.312 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.205, allocations: 4 kB / 1.157 GB, free: 5.309 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001725/1.207, allocations: 342.5 kB / 1.157 GB, free: 5.246 MB / 0.698 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.0006988/1.207, allocations: 198.5 kB / 1.157 GB, free: 5.105 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00201/1.209, allocations: 0.5804 MB / 1.158 GB, free: 4.848 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.209, allocations: 2.469 kB / 1.158 GB, free: 4.848 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005934/1.21, allocations: 199.5 kB / 1.158 GB, free: 4.754 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003338/1.213, allocations: 343.7 kB / 1.158 GB, free: 4.586 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004027/1.218, allocations: 1.664 MB / 1.16 GB, free: 3.379 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000797/1.218, allocations: 0.9585 MB / 1.161 GB, free: 2.547 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001444/1.22, allocations: 202.1 kB / 1.161 GB, free: 2.457 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/1.22, allocations: 58.05 kB / 1.161 GB, free: 2.438 MB / 0.698 GB Notification: Performance of SimCode: time 1.082e-06/1.22, allocations: 0 / 1.161 GB, free: 2.438 MB / 0.698 GB Notification: Performance of Templates: time 0.03358/1.254, allocations: 11.07 MB / 1.172 GB, free: 12.96 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)