Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.67/2.67, allocations: 251.3 MB / 266.2 MB, free: 11.51 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001345/0.001345, allocations: 184.6 kB / 325.8 MB, free: 2.785 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.422/2.422, allocations: 205.4 MB / 0.5767 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009438/0.0009436, allocations: 84.92 kB / 0.6812 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000483/0.0004831, allocations: 15.28 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2209, allocations: 106.3 MB / 0.899 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.9109/1.132, allocations: 170.1 MB / 1.065 GB, free: 4.332 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01091/1.143, allocations: 4.334 MB / 1.069 GB, free: 4.246 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/1.144, allocations: 23.53 kB / 1.069 GB, free: 4.246 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001562/1.146, allocations: 278.2 kB / 1.07 GB, free: 4.242 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00434/1.15, allocations: 0.9988 MB / 1.071 GB, free: 4.195 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003077/1.153, allocations: 0.6041 MB / 1.071 GB, free: 4.168 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004991/1.158, allocations: 2.37 MB / 1.074 GB, free: 4.164 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00157/1.16, allocations: 0.5096 MB / 1.074 GB, free: 4.094 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003671/1.164, allocations: 0.8711 MB / 1.075 GB, free: 4.086 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001997/1.166, allocations: 0.5695 MB / 1.075 GB, free: 4.082 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002807/1.166, allocations: 28.72 kB / 1.075 GB, free: 4.082 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004103/1.17, allocations: 0.8668 MB / 1.076 GB, free: 4.066 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008623/1.171, allocations: 253.4 kB / 1.077 GB, free: 4.066 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008748/1.172, allocations: 177.8 kB / 1.077 GB, free: 20.04 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002977/1.175, allocations: 1.021 MB / 1.078 GB, free: 19.95 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/1.175, allocations: 0.8438 kB / 1.078 GB, free: 19.95 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.515e-06/1.175, allocations: 0 / 1.078 GB, free: 19.95 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.296e-05/1.175, allocations: 0.875 kB / 1.078 GB, free: 19.95 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.003185/1.178, allocations: 0.959 MB / 1.079 GB, free: 19.31 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/1.178, allocations: 8.594 kB / 1.079 GB, free: 19.31 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002166/1.181, allocations: 202.2 kB / 1.079 GB, free: 19.27 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001869/1.183, allocations: 0.5542 MB / 1.079 GB, free: 19.01 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.807e-05/1.183, allocations: 45.41 kB / 1.079 GB, free: 19 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/1.183, allocations: 54.66 kB / 1.08 GB, free: 19 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/1.185, allocations: 0.6266 MB / 1.08 GB, free: 18.93 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.254e-05/1.185, allocations: 0 / 1.08 GB, free: 18.93 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.753e-05/1.185, allocations: 20.28 kB / 1.08 GB, free: 18.93 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.796e-05/1.185, allocations: 19.09 kB / 1.08 GB, free: 18.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/1.186, allocations: 0.499 MB / 1.081 GB, free: 18.92 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.005162/1.192, allocations: 2.406 MB / 1.083 GB, free: 17.6 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008436/1.192, allocations: 349.6 kB / 1.083 GB, free: 17.57 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004557/1.193, allocations: 206.6 kB / 1.084 GB, free: 17.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009561/1.194, allocations: 323.9 kB / 1.084 GB, free: 17.28 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.127e-05/1.194, allocations: 40.22 kB / 1.084 GB, free: 17.24 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=36): time 2.955e-06/1.194, allocations: 3.938 kB / 1.084 GB, free: 17.24 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36): time 0.001866/1.196, allocations: 0.5356 MB / 1.084 GB, free: 17.17 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/1.196, allocations: 58.02 kB / 1.084 GB, free: 17.11 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009136/1.197, allocations: 496.4 kB / 1.085 GB, free: 16.99 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001125/1.197, allocations: 35.67 kB / 1.085 GB, free: 16.96 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003009/1.197, allocations: 318.1 kB / 1.085 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/1.197, allocations: 130.3 kB / 1.085 GB, free: 16.72 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/1.198, allocations: 8.438 kB / 1.085 GB, free: 16.72 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001801/1.198, allocations: 369.5 kB / 1.086 GB, free: 16.4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003629/1.198, allocations: 140.2 kB / 1.086 GB, free: 16.4 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004648/1.199, allocations: 248.9 kB / 1.086 GB, free: 16.3 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004797/1.199, allocations: 183.7 kB / 1.086 GB, free: 16.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.199, allocations: 1.859 kB / 1.086 GB, free: 16.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001246/1.2, allocations: 485.4 kB / 1.087 GB, free: 16.22 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/1.2, allocations: 149.8 kB / 1.087 GB, free: 16.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/1.201, allocations: 1.688 kB / 1.087 GB, free: 16.06 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/1.201, allocations: 4.281 kB / 1.087 GB, free: 16.06 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/1.202, allocations: 102.8 kB / 1.087 GB, free: 16.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000519/1.202, allocations: 0.6042 MB / 1.088 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/1.203, allocations: 62.67 kB / 1.088 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.454e-05/1.204, allocations: 19.25 kB / 1.088 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/1.204, allocations: 2.594 kB / 1.088 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00104/1.205, allocations: 402.2 kB / 1.088 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/1.205, allocations: 6.594 kB / 1.088 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/1.205, allocations: 3.906 kB / 1.088 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007142/1.205, allocations: 87.94 kB / 1.088 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/1.205, allocations: 3.281 kB / 1.088 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/1.207, allocations: 70.56 kB / 1.088 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/1.207, allocations: 20.44 kB / 1.088 GB, free: 15.4 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.0006663/1.207, allocations: 313.2 kB / 1.089 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/1.208, allocations: 55.03 kB / 1.089 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/1.209, allocations: 446 kB / 1.089 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/1.209, allocations: 7.594 kB / 1.089 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.209, allocations: 3.938 kB / 1.089 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009982/1.21, allocations: 0.647 MB / 1.09 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003156/1.213, allocations: 1.196 MB / 1.091 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/1.213, allocations: 1.344 kB / 1.091 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009802/1.214, allocations: 102.4 kB / 1.091 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/1.214, allocations: 5.406 kB / 1.091 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/1.214, allocations: 6.125 kB / 1.091 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004564/1.215, allocations: 0.5968 MB / 1.092 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.215, allocations: 6.594 kB / 1.092 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/1.216, allocations: 0.7283 MB / 1.092 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006157/1.217, allocations: 182.8 kB / 1.092 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/1.217, allocations: 8.703 kB / 1.092 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000947/1.218, allocations: 53.11 kB / 1.092 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.95e-05/1.218, allocations: 34.84 kB / 1.093 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-05/1.218, allocations: 13.72 kB / 1.093 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006585/1.219, allocations: 353.2 kB / 1.093 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.12e-07/1.219, allocations: 0 / 1.093 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001663/1.22, allocations: 345 kB / 1.093 GB, free: 13.2 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.0007797/1.221, allocations: 187.2 kB / 1.093 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001875/1.223, allocations: 0.5756 MB / 1.094 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/1.223, allocations: 3.438 kB / 1.094 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000499/1.224, allocations: 185.5 kB / 1.094 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003425/1.227, allocations: 364.5 kB / 1.094 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003562/1.231, allocations: 1.68 MB / 1.096 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007548/1.232, allocations: 0.9412 MB / 1.097 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001387/1.233, allocations: 202.6 kB / 1.097 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/1.233, allocations: 45.62 kB / 1.097 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of SimCode: time 1.402e-06/1.233, allocations: 4 kB / 1.097 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of Templates: time 0.03116/1.265, allocations: 11.12 MB / 1.108 GB, free: 10.32 MB / 0.7136 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)