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.376/1.376, allocations: 252 MB / 267.6 MB, free: 10.91 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.001102/0.001102, allocations: 183.3 kB / 327.3 MB, free: 2.191 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.815/1.815, allocations: 205.4 MB / 0.5783 GB, free: 20.23 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.0008638/0.0008639, allocations: 84.25 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004987/0.0004988, allocations: 10.06 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3126, allocations: 106.3 MB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.8421/1.155, allocations: 170.1 MB / 1.067 GB, free: 4.23 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.007273/1.162, allocations: 4.333 MB / 1.071 GB, free: 4.141 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009824/1.163, allocations: 26.66 kB / 1.071 GB, free: 4.141 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001026/1.164, allocations: 283.5 kB / 1.071 GB, free: 4.137 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003368/1.168, allocations: 0.997 MB / 1.072 GB, free: 4.086 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002237/1.17, allocations: 0.5927 MB / 1.073 GB, free: 4.066 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004395/1.174, allocations: 2.358 MB / 1.075 GB, free: 4.062 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/1.175, allocations: 0.4988 MB / 1.076 GB, free: 3.988 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002625/1.178, allocations: 0.8691 MB / 1.077 GB, free: 3.977 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/1.179, allocations: 0.5739 MB / 1.077 GB, free: 3.973 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001003/1.179, allocations: 27.81 kB / 1.077 GB, free: 3.973 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002813/1.182, allocations: 0.8644 MB / 1.078 GB, free: 3.961 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003663/1.182, allocations: 254 kB / 1.078 GB, free: 3.961 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003017/1.183, allocations: 173.5 kB / 1.079 GB, free: 3.93 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001531/1.184, allocations: 1.024 MB / 1.08 GB, free: 3.844 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.184, allocations: 0 / 1.08 GB, free: 3.844 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.665e-06/1.184, allocations: 0.9688 kB / 1.08 GB, free: 3.844 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.132e-05/1.184, allocations: 0 / 1.08 GB, free: 3.844 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002005/1.186, allocations: 0.955 MB / 1.08 GB, free: 19.21 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/1.186, allocations: 13.44 kB / 1.08 GB, free: 19.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/1.188, allocations: 208.1 kB / 1.081 GB, free: 19.16 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009635/1.189, allocations: 0.5527 MB / 1.081 GB, free: 18.9 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.332e-05/1.189, allocations: 43.56 kB / 1.081 GB, free: 18.89 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.45e-05/1.189, allocations: 55.09 kB / 1.081 GB, free: 18.89 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/1.19, allocations: 0.6272 MB / 1.082 GB, free: 18.82 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/1.19, allocations: 0.9062 kB / 1.082 GB, free: 18.82 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.558e-05/1.19, allocations: 20.47 kB / 1.082 GB, free: 18.82 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.783e-05/1.19, allocations: 25.86 kB / 1.082 GB, free: 18.81 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008021/1.191, allocations: 499.5 kB / 1.082 GB, free: 18.81 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.003051/1.194, allocations: 2.4 MB / 1.085 GB, free: 17.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005272/1.194, allocations: 349.1 kB / 1.085 GB, free: 17.47 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003237/1.195, allocations: 212.8 kB / 1.085 GB, free: 17.46 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006709/1.195, allocations: 330.6 kB / 1.086 GB, free: 17.18 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/1.196, allocations: 40.45 kB / 1.086 GB, free: 17.13 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=36): time 2.555e-06/1.196, allocations: 0 / 1.086 GB, free: 17.13 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36): time 0.001182/1.197, allocations: 0.5328 MB / 1.086 GB, free: 17.07 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/1.197, allocations: 56.97 kB / 1.086 GB, free: 17 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005435/1.197, allocations: 498.4 kB / 1.087 GB, free: 16.89 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.67e-05/1.197, allocations: 34.83 kB / 1.087 GB, free: 16.86 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/1.198, allocations: 318.9 kB / 1.087 GB, free: 16.7 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/1.198, allocations: 131.3 kB / 1.087 GB, free: 16.62 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.924e-05/1.198, allocations: 8.344 kB / 1.087 GB, free: 16.62 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.198, allocations: 365.2 kB / 1.088 GB, free: 16.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/1.198, allocations: 140.5 kB / 1.088 GB, free: 16.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/1.198, allocations: 250.5 kB / 1.088 GB, free: 16.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000262/1.199, allocations: 180.8 kB / 1.088 GB, free: 16.2 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/1.199, allocations: 1.594 kB / 1.088 GB, free: 16.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006838/1.199, allocations: 485.5 kB / 1.089 GB, free: 16.12 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.675e-05/1.2, allocations: 151.9 kB / 1.089 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/1.2, allocations: 5.344 kB / 1.089 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/1.2, allocations: 4.375 kB / 1.089 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006085/1.2, allocations: 109.2 kB / 1.089 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004069/1.201, allocations: 0.5993 MB / 1.089 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006722/1.201, allocations: 67.05 kB / 1.089 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.406e-05/1.201, allocations: 16.28 kB / 1.089 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/1.201, allocations: 8.484 kB / 1.089 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006597/1.202, allocations: 401.5 kB / 1.09 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/1.202, allocations: 5.688 kB / 1.09 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.604e-06/1.202, allocations: 8.312 kB / 1.09 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/1.202, allocations: 87.92 kB / 1.09 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/1.202, allocations: 3.75 kB / 1.09 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005348/1.203, allocations: 62.27 kB / 1.09 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/1.203, allocations: 22.36 kB / 1.09 GB, free: 15.3 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.0004457/1.204, allocations: 303.5 kB / 1.09 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/1.204, allocations: 59.2 kB / 1.09 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007419/1.204, allocations: 450.8 kB / 1.091 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/1.204, allocations: 4.094 kB / 1.091 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/1.204, allocations: 5.859 kB / 1.091 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000656/1.205, allocations: 0.6435 MB / 1.091 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/1.207, allocations: 1.198 MB / 1.093 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/1.207, allocations: 5.781 kB / 1.093 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004504/1.207, allocations: 88.62 kB / 1.093 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.994e-06/1.207, allocations: 5.125 kB / 1.093 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.104e-05/1.207, allocations: 12.72 kB / 1.093 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003196/1.208, allocations: 0.5903 MB / 1.093 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/1.208, allocations: 6.688 kB / 1.093 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008029/1.208, allocations: 0.7369 MB / 1.094 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002447/1.209, allocations: 177.1 kB / 1.094 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.939e-05/1.209, allocations: 13.34 kB / 1.094 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004551/1.209, allocations: 44.03 kB / 1.094 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/1.209, allocations: 31.61 kB / 1.094 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/1.209, allocations: 13.09 kB / 1.094 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003734/1.21, allocations: 358.6 kB / 1.095 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/1.21, allocations: 0 / 1.095 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001007/1.211, allocations: 347.1 kB / 1.095 GB, free: 13.09 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.0004687/1.211, allocations: 201.7 kB / 1.095 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001032/1.212, allocations: 0.5793 MB / 1.096 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.708e-06/1.212, allocations: 3.406 kB / 1.096 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002605/1.213, allocations: 177.5 kB / 1.096 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/1.214, allocations: 367.9 kB / 1.096 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/1.216, allocations: 1.72 MB / 1.098 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000544/1.217, allocations: 0.9424 MB / 1.099 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/1.217, allocations: 50.12 kB / 1.099 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of SimCode: time 5.41e-07/1.217, allocations: 0 / 1.099 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of Templates: time 0.01684/1.234, allocations: 12.57 MB / 1.111 GB, free: 9.164 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)