Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.633/1.633, allocations: 288.4 MB / 303.4 MB, free: 8.145 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.0009954/0.0009954, allocations: 182.8 kB / 372 MB, free: 10.26 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.653/1.653, allocations: 205.4 MB / 0.6307 GB, free: 9.988 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.0008833/0.0008834, allocations: 108.7 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004186/0.0004186, allocations: 16.69 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2669, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.8385/1.105, allocations: 169.9 MB / 1.146 GB, free: 12.33 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008606/1.114, allocations: 4.257 MB / 1.15 GB, free: 10.97 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/1.115, allocations: 23.88 kB / 1.15 GB, free: 10.96 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/1.116, allocations: 278.1 kB / 1.15 GB, free: 10.77 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00381/1.12, allocations: 0.9968 MB / 1.151 GB, free: 10.11 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002803/1.123, allocations: 0.5721 MB / 1.151 GB, free: 9.859 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003583/1.127, allocations: 2.302 MB / 1.154 GB, free: 8.941 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009176/1.128, allocations: 498.3 kB / 1.154 GB, free: 8.641 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002651/1.13, allocations: 0.852 MB / 1.155 GB, free: 8.164 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/1.131, allocations: 0.5681 MB / 1.156 GB, free: 7.852 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.181e-05/1.131, allocations: 29 kB / 1.156 GB, free: 7.852 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002727/1.134, allocations: 0.8567 MB / 1.156 GB, free: 7.406 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003364/1.135, allocations: 250.8 kB / 1.157 GB, free: 7.246 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002982/1.135, allocations: 170.3 kB / 1.157 GB, free: 7.152 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00163/1.137, allocations: 0.999 MB / 1.158 GB, free: 6.523 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/1.137, allocations: 5 kB / 1.158 GB, free: 6.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.615e-06/1.137, allocations: 0 / 1.158 GB, free: 6.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.142e-05/1.137, allocations: 0 / 1.158 GB, free: 6.52 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.001826/1.138, allocations: 0.9577 MB / 1.159 GB, free: 5.734 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/1.138, allocations: 9.062 kB / 1.159 GB, free: 5.734 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001354/1.14, allocations: 208.9 kB / 1.159 GB, free: 5.637 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/1.141, allocations: 0.5551 MB / 1.16 GB, free: 5.176 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.541e-05/1.141, allocations: 39.78 kB / 1.16 GB, free: 5.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/1.141, allocations: 61.88 kB / 1.16 GB, free: 5.137 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/1.143, allocations: 0.6101 MB / 1.16 GB, free: 4.766 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/1.143, allocations: 1.219 kB / 1.16 GB, free: 4.766 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.536e-05/1.143, allocations: 24.39 kB / 1.16 GB, free: 4.746 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.111e-05/1.143, allocations: 23.12 kB / 1.16 GB, free: 4.742 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/1.144, allocations: 494.8 kB / 1.161 GB, free: 4.508 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.003904/1.148, allocations: 2.386 MB / 1.163 GB, free: 2.414 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007136/1.149, allocations: 358.4 kB / 1.163 GB, free: 2.223 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003883/1.149, allocations: 209.1 kB / 1.164 GB, free: 2.121 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006581/1.15, allocations: 328 kB / 1.164 GB, free: 1.801 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/1.15, allocations: 36.88 kB / 1.164 GB, free: 1.758 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 2.705e-06/1.15, allocations: 1.062 kB / 1.164 GB, free: 1.758 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.001273/1.151, allocations: 0.5446 MB / 1.164 GB, free: 1.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/1.151, allocations: 55.34 kB / 1.165 GB, free: 1.418 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006461/1.152, allocations: 0.4916 MB / 1.165 GB, free: 1.113 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.432e-05/1.152, allocations: 36.2 kB / 1.165 GB, free: 1.074 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000234/1.152, allocations: 313 kB / 1.165 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/1.152, allocations: 133.6 kB / 1.165 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.162e-05/1.152, allocations: 9.969 kB / 1.165 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001599/1.152, allocations: 368.4 kB / 1.166 GB, free: 328 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/1.153, allocations: 151.8 kB / 1.166 GB, free: 244 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003747/1.153, allocations: 259.9 kB / 1.166 GB, free: 36 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003519/1.153, allocations: 183.1 kB / 1.166 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.153, allocations: 1.188 kB / 1.166 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008291/1.154, allocations: 483 kB / 1.167 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/1.154, allocations: 153.8 kB / 1.167 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/1.154, allocations: 1.719 kB / 1.167 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/1.154, allocations: 4.469 kB / 1.167 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000636/1.155, allocations: 105.3 kB / 1.167 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004177/1.156, allocations: 0.6049 MB / 1.168 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007642/1.156, allocations: 66.5 kB / 1.168 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.117e-05/1.156, allocations: 18.31 kB / 1.168 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/1.156, allocations: 3.75 kB / 1.168 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007586/1.157, allocations: 402.6 kB / 1.168 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/1.157, allocations: 2.75 kB / 1.168 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/1.157, allocations: 8.406 kB / 1.168 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003737/1.158, allocations: 84.66 kB / 1.168 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/1.158, allocations: 8.062 kB / 1.168 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005179/1.158, allocations: 71.05 kB / 1.168 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.914e-05/1.158, allocations: 25.64 kB / 1.168 GB, free: 14.56 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.0004983/1.159, allocations: 298.9 kB / 1.169 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/1.159, allocations: 54.69 kB / 1.169 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008965/1.16, allocations: 443.6 kB / 1.169 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/1.16, allocations: 3.594 kB / 1.169 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/1.16, allocations: 0 / 1.169 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008253/1.161, allocations: 0.6553 MB / 1.17 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0022/1.163, allocations: 1.194 MB / 1.171 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/1.163, allocations: 10.03 kB / 1.171 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005249/1.163, allocations: 96.31 kB / 1.171 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.369e-05/1.163, allocations: 7.703 kB / 1.171 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/1.163, allocations: 12.47 kB / 1.171 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003866/1.164, allocations: 0.5901 MB / 1.172 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/1.164, allocations: 2.469 kB / 1.172 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/1.165, allocations: 0.7419 MB / 1.172 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002815/1.166, allocations: 177 kB / 1.173 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.079e-05/1.166, allocations: 6.906 kB / 1.173 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004581/1.166, allocations: 42.91 kB / 1.173 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/1.166, allocations: 26.75 kB / 1.173 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/1.166, allocations: 22.8 kB / 1.173 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004649/1.167, allocations: 354 kB / 1.173 GB, free: 11 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.7e-07/1.167, allocations: 0 / 1.173 GB, free: 11 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001037/1.168, allocations: 342.4 kB / 1.173 GB, free: 10.93 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.0005117/1.168, allocations: 194.8 kB / 1.173 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001212/1.169, allocations: 0.5825 MB / 1.174 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.247e-06/1.169, allocations: 0 / 1.174 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000326/1.17, allocations: 187.5 kB / 1.174 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001799/1.172, allocations: 369 kB / 1.175 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/1.174, allocations: 1.663 MB / 1.176 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005198/1.175, allocations: 0.9471 MB / 1.177 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007499/1.175, allocations: 203.8 kB / 1.177 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/1.176, allocations: 45.22 kB / 1.177 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of SimCode: time 3.91e-07/1.176, allocations: 0 / 1.177 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of Templates: time 0.02168/1.197, allocations: 11.09 MB / 1.188 GB, free: 2.664 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)