Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.392/1.392, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 167.8 kB / 327.6 MB, free: 2.109 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.771/1.771, allocations: 205.4 MB / 0.5786 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008917/0.0008918, allocations: 94.3 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003237/0.0003238, allocations: 9.125 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2216, allocations: 106.3 MB / 0.9015 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.7102/0.9318, allocations: 182.3 MB / 1.079 GB, free: 1.719 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008798/0.9407, allocations: 4.621 MB / 1.084 GB, free: 1.598 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00129/0.942, allocations: 21.38 kB / 1.084 GB, free: 1.598 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001338/0.9434, allocations: 355.4 kB / 1.084 GB, free: 1.586 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004696/0.9481, allocations: 1.268 MB / 1.086 GB, free: 1.52 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002594/0.9507, allocations: 0.6889 MB / 1.086 GB, free: 1.5 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004017/0.9547, allocations: 2.812 MB / 1.089 GB, free: 1.488 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.9558, allocations: 0.5415 MB / 1.09 GB, free: 1.402 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004012/0.9598, allocations: 0.9705 MB / 1.091 GB, free: 1.387 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001456/0.9612, allocations: 0.6037 MB / 1.091 GB, free: 1.383 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.823e-05/0.9614, allocations: 28.38 kB / 1.091 GB, free: 1.383 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003508/0.9649, allocations: 1.549 MB / 1.093 GB, free: 1.367 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00034/0.9652, allocations: 254.2 kB / 1.093 GB, free: 1.363 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007146/0.9659, allocations: 398.7 kB / 1.093 GB, free: 17.33 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001656/0.9676, allocations: 1.084 MB / 1.094 GB, free: 17.25 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.9676, allocations: 0 / 1.094 GB, free: 17.25 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9676, allocations: 1.75 kB / 1.094 GB, free: 17.25 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.9676, allocations: 1.031 kB / 1.094 GB, free: 17.25 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.0016/0.9693, allocations: 0.9509 MB / 1.095 GB, free: 16.61 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.9693, allocations: 9.156 kB / 1.095 GB, free: 16.61 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/0.9705, allocations: 205.3 kB / 1.095 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009532/0.9715, allocations: 0.5727 MB / 1.096 GB, free: 16.29 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.526e-05/0.9715, allocations: 39.38 kB / 1.096 GB, free: 16.29 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.676e-05/0.9717, allocations: 60.03 kB / 1.096 GB, free: 16.28 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009491/0.9726, allocations: 0.6272 MB / 1.097 GB, free: 16.21 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.9726, allocations: 6.719 kB / 1.097 GB, free: 16.21 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.093e-05/0.9727, allocations: 21.09 kB / 1.097 GB, free: 16.21 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.815e-05/0.9727, allocations: 22.25 kB / 1.097 GB, free: 16.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006957/0.9734, allocations: 0.4919 MB / 1.097 GB, free: 16.2 MB / 0.7136 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.002707/0.9761, allocations: 2.404 MB / 1.1 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005182/0.9767, allocations: 346 kB / 1.1 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000291/0.977, allocations: 207.3 kB / 1.1 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005978/0.9776, allocations: 317.9 kB / 1.1 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.9776, allocations: 50.8 kB / 1.1 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=36): time 2.214e-06/0.9776, allocations: 0 / 1.1 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36): time 0.00101/0.9787, allocations: 0.5419 MB / 1.101 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.9787, allocations: 54.84 kB / 1.101 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005335/0.9793, allocations: 0.4903 MB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/0.9793, allocations: 32.73 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.9795, allocations: 323.2 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.429e-05/0.9796, allocations: 134 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.062e-05/0.9797, allocations: 7 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.9798, allocations: 364 kB / 1.102 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.98, allocations: 145.5 kB / 1.102 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/0.9803, allocations: 261.5 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004912/0.9808, allocations: 402.2 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.9808, allocations: 3.375 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006453/0.9815, allocations: 472.9 kB / 1.104 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.9816, allocations: 162.8 kB / 1.104 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.9816, allocations: 4.828 kB / 1.104 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.9816, allocations: 2.844 kB / 1.104 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005763/0.9822, allocations: 104.3 kB / 1.104 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004311/0.9827, allocations: 0.5962 MB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006707/0.9833, allocations: 72.56 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.122e-05/0.9834, allocations: 13.06 kB / 1.105 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/0.9834, allocations: 5.125 kB / 1.105 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006303/0.984, allocations: 407.2 kB / 1.105 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.9841, allocations: 0 / 1.105 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.108e-06/0.9841, allocations: 5.688 kB / 1.105 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/0.9844, allocations: 89.09 kB / 1.105 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/0.9844, allocations: 12.23 kB / 1.105 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005024/0.9849, allocations: 65.25 kB / 1.105 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/0.985, allocations: 20.97 kB / 1.105 GB, free: 12.59 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 (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.0003981/0.9854, allocations: 312 kB / 1.105 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.61e-05/0.9855, allocations: 54.33 kB / 1.105 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007354/0.9862, allocations: 444.9 kB / 1.106 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.9863, allocations: 4.656 kB / 1.106 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.9863, allocations: 0 / 1.106 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006536/0.9869, allocations: 0.6455 MB / 1.106 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.9886, allocations: 1.207 MB / 1.108 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.321e-06/0.9886, allocations: 5.953 kB / 1.108 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004578/0.9891, allocations: 104.4 kB / 1.108 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.9891, allocations: 3.312 kB / 1.108 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/0.9892, allocations: 6.812 kB / 1.108 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003506/0.9895, allocations: 0.5919 MB / 1.108 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.9895, allocations: 5.938 kB / 1.108 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.9906, allocations: 0.737 MB / 1.109 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003135/0.9909, allocations: 181 kB / 1.109 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.694e-05/0.991, allocations: 9.875 kB / 1.109 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005447/0.9915, allocations: 43.61 kB / 1.109 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.016e-05/0.9916, allocations: 29.48 kB / 1.109 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-05/0.9917, allocations: 16.55 kB / 1.109 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004451/0.9921, allocations: 364.2 kB / 1.11 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9921, allocations: 0 / 1.11 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009886/0.9931, allocations: 352.1 kB / 1.11 GB, free: 10.38 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 (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.0004905/0.9936, allocations: 199.7 kB / 1.11 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001057/0.9947, allocations: 0.5772 MB / 1.111 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.9947, allocations: 0 / 1.111 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000293/0.995, allocations: 186.7 kB / 1.111 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/0.9969, allocations: 369.5 kB / 1.111 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/0.9993, allocations: 1.711 MB / 1.113 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005498/0.9999, allocations: 0.9384 MB / 1.114 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/1, allocations: 54.95 kB / 1.114 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of SimCode: time 7.21e-07/1, allocations: 0 / 1.114 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of Templates: time 0.02032/1.02, allocations: 12.56 MB / 1.126 GB, free: 5.211 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)