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/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.864/1.864, allocations: 292.3 MB / 308.1 MB, free: 4.27 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.001387/0.001387, allocations: 195.2 kB / 376.9 MB, free: 1.781 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 205 MB / 0.6354 GB, free: 9.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 99.5 kB / 0.748 GB, free: 61.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 51.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2908, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.7898/1.081, allocations: 184.6 MB / 1.162 GB, free: 128 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.008636/1.089, allocations: 4.6 MB / 1.167 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001548/1.091, allocations: 28.22 kB / 1.167 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001431/1.092, allocations: 351.9 kB / 1.167 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.003924/1.096, allocations: 1.257 MB / 1.169 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002099/1.099, allocations: 0.6678 MB / 1.169 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.003184/1.102, allocations: 2.744 MB / 1.172 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000876/1.103, allocations: 0.5577 MB / 1.172 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003592/1.106, allocations: 0.9747 MB / 1.173 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001451/1.108, allocations: 0.6046 MB / 1.174 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.815e-05/1.108, allocations: 34.34 kB / 1.174 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003409/1.111, allocations: 1.55 MB / 1.175 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003593/1.112, allocations: 259.4 kB / 1.176 GB, free: 9.234 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0006149/1.112, allocations: 390.7 kB / 1.176 GB, free: 9.027 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002687/1.115, allocations: 1.508 MB / 1.178 GB, free: 8.508 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/1.115, allocations: 1.125 kB / 1.178 GB, free: 8.508 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.423e-06/1.115, allocations: 0 / 1.178 GB, free: 8.508 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.067e-05/1.115, allocations: 0 / 1.178 GB, free: 8.508 MB / 0.7761 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.001945/1.117, allocations: 1.093 MB / 1.179 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/1.117, allocations: 13.34 kB / 1.179 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/1.118, allocations: 204.8 kB / 1.179 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/1.119, allocations: 0.5592 MB / 1.179 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.383e-05/1.119, allocations: 46.59 kB / 1.179 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/1.119, allocations: 56.69 kB / 1.18 GB, free: 7.246 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/1.121, allocations: 0.6218 MB / 1.18 GB, free: 6.977 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/1.121, allocations: 7.219 kB / 1.18 GB, free: 6.973 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.437e-05/1.121, allocations: 19.28 kB / 1.18 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.895e-05/1.121, allocations: 25.33 kB / 1.18 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007351/1.121, allocations: 498.8 kB / 1.181 GB, free: 6.797 MB / 0.7761 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.002958/1.124, allocations: 2.39 MB / 1.183 GB, free: 5.035 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005095/1.125, allocations: 353.6 kB / 1.183 GB, free: 4.887 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/1.125, allocations: 213.1 kB / 1.184 GB, free: 4.812 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005805/1.126, allocations: 307.5 kB / 1.184 GB, free: 4.52 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/1.126, allocations: 42.83 kB / 1.184 GB, free: 4.473 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=36): time 2.825e-06/1.126, allocations: 0 / 1.184 GB, free: 4.473 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36): time 0.001067/1.127, allocations: 0.5417 MB / 1.184 GB, free: 4.262 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/1.127, allocations: 54.56 kB / 1.184 GB, free: 4.199 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005522/1.128, allocations: 0.499 MB / 1.185 GB, free: 3.969 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.206e-05/1.128, allocations: 40.67 kB / 1.185 GB, free: 3.926 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002442/1.128, allocations: 320.5 kB / 1.185 GB, free: 3.672 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/1.128, allocations: 124.6 kB / 1.185 GB, free: 3.574 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/1.128, allocations: 87.52 kB / 1.185 GB, free: 3.527 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001499/1.128, allocations: 364.8 kB / 1.186 GB, free: 3.191 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/1.129, allocations: 147.9 kB / 1.186 GB, free: 3.137 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003136/1.129, allocations: 267.4 kB / 1.186 GB, free: 2.957 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000595/1.129, allocations: 415.6 kB / 1.187 GB, free: 2.723 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.129, allocations: 0 / 1.187 GB, free: 2.723 MB / 0.7761 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006792/1.13, allocations: 480.5 kB / 1.187 GB, free: 2.52 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/1.13, allocations: 3.25 kB / 1.187 GB, free: 2.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.13, allocations: 7.109 kB / 1.187 GB, free: 2.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/1.13, allocations: 3.219 kB / 1.187 GB, free: 2.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005782/1.131, allocations: 105.5 kB / 1.187 GB, free: 2.508 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000393/1.131, allocations: 0.5974 MB / 1.188 GB, free: 1.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005977/1.132, allocations: 74.38 kB / 1.188 GB, free: 1.875 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-05/1.132, allocations: 19.62 kB / 1.188 GB, free: 1.871 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000423/1.132, allocations: 323.6 kB / 1.188 GB, free: 1.699 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003095/1.133, allocations: 264.8 kB / 1.188 GB, free: 1.52 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005331/1.133, allocations: 414.9 kB / 1.189 GB, free: 1.281 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.865e-06/1.133, allocations: 2.938 kB / 1.189 GB, free: 1.281 MB / 0.7761 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.000644/1.134, allocations: 471.9 kB / 1.189 GB, free: 1.082 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/1.134, allocations: 19.2 kB / 1.189 GB, free: 1.074 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/1.134, allocations: 3.188 kB / 1.189 GB, free: 1.074 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.594e-06/1.134, allocations: 7.219 kB / 1.189 GB, free: 1.074 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003284/1.134, allocations: 87.92 kB / 1.189 GB, free: 1.062 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/1.134, allocations: 7.109 kB / 1.189 GB, free: 1.062 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005543/1.135, allocations: 59.02 kB / 1.189 GB, free: 1.039 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/1.135, allocations: 16.66 kB / 1.189 GB, free: 1.035 MB / 0.7761 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.0001802/1.135, allocations: 205.3 kB / 1.19 GB, free: 0.8359 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.459e-05/1.135, allocations: 60.09 kB / 1.19 GB, free: 0.8047 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007009/1.136, allocations: 451.2 kB / 1.19 GB, free: 0.5938 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/1.136, allocations: 3.125 kB / 1.19 GB, free: 0.5938 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.136, allocations: 3.25 kB / 1.19 GB, free: 0.5938 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005946/1.136, allocations: 0.654 MB / 1.191 GB, free: 48 kB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/1.138, allocations: 1.196 MB / 1.192 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/1.138, allocations: 3.844 kB / 1.192 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004577/1.139, allocations: 90.25 kB / 1.192 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/1.139, allocations: 3.094 kB / 1.192 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.114e-05/1.139, allocations: 17.75 kB / 1.192 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003407/1.139, allocations: 0.5975 MB / 1.193 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.139, allocations: 2.125 kB / 1.193 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006776/1.146, allocations: 3.832 MB / 1.196 GB, free: 12.37 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002686/1.146, allocations: 174.2 kB / 1.197 GB, free: 12.22 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.789e-05/1.146, allocations: 18.41 kB / 1.197 GB, free: 12.21 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004375/1.147, allocations: 46.44 kB / 1.197 GB, free: 12.2 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/1.147, allocations: 31.09 kB / 1.197 GB, free: 12.18 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.038e-05/1.147, allocations: 9.781 kB / 1.197 GB, free: 12.18 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.000437/1.147, allocations: 358.6 kB / 1.197 GB, free: 12.02 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.1e-07/1.147, allocations: 0 / 1.197 GB, free: 12.02 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.002018/1.149, allocations: 0.5364 MB / 1.198 GB, free: 11.95 MB / 0.7917 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.0005684/1.15, allocations: 209.6 kB / 1.198 GB, free: 11.82 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001424/1.151, allocations: 0.5897 MB / 1.198 GB, free: 11.63 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.151, allocations: 0 / 1.198 GB, free: 11.63 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0003491/1.152, allocations: 194.4 kB / 1.198 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00263/1.154, allocations: 348.3 kB / 1.199 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004159/1.158, allocations: 1.837 MB / 1.201 GB, free: 10.26 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007833/1.159, allocations: 0.9525 MB / 1.202 GB, free: 9.523 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.001316/1.161, allocations: 215.3 kB / 1.202 GB, free: 9.484 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002207/1.161, allocations: 52.39 kB / 1.202 GB, free: 9.48 MB / 0.7917 GB Notification: Performance of SimCode: time 6.52e-07/1.161, allocations: 0 / 1.202 GB, free: 9.48 MB / 0.7917 GB Notification: Performance of Templates: time 0.04035/1.201, allocations: 12.65 MB / 1.214 GB, free: 8.637 MB / 0.7917 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)