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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 194.5 kB / 16.14 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.1 MB / 222 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.738/1.738, allocations: 251.7 MB / 0.5088 GB, free: 3.312 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 68.42 kB / 0.6216 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5598/0.5613, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.2058/0.7672, allocations: 184.8 MB / 0.9042 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.552/1.319, allocations: 4.66 MB / 0.9088 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001734/1.321, allocations: 24.03 kB / 0.9088 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001401/1.323, allocations: 359.3 kB / 0.9092 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004357/1.327, allocations: 1.27 MB / 0.9104 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002656/1.33, allocations: 0.6951 MB / 0.9111 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004969/1.335, allocations: 2.808 MB / 0.9138 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/1.336, allocations: 0.5578 MB / 0.9144 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004118/1.34, allocations: 0.9748 MB / 0.9153 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00162/1.342, allocations: 0.6248 MB / 0.9159 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001208/1.342, allocations: 35.34 kB / 0.916 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003664/1.345, allocations: 1.557 MB / 0.9175 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000435/1.346, allocations: 266.4 kB / 0.9177 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00072/1.347, allocations: 385.7 kB / 0.9181 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003165/1.35, allocations: 1.533 MB / 0.9196 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.35, allocations: 0 / 0.9196 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/1.35, allocations: 0.5 kB / 0.9196 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.374e-05/1.35, allocations: 0 / 0.9196 GB, free: 1.707 MB / 0.7169 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.002144/1.352, allocations: 1.093 MB / 0.9207 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/1.352, allocations: 10.34 kB / 0.9207 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/1.353, allocations: 199.5 kB / 0.9209 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009499/1.354, allocations: 0.5854 MB / 0.9214 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.986e-05/1.354, allocations: 40.88 kB / 0.9215 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/1.355, allocations: 56.94 kB / 0.9215 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/1.356, allocations: 0.6256 MB / 0.9221 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/1.356, allocations: 1.375 kB / 0.9221 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.667e-05/1.356, allocations: 23.38 kB / 0.9222 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.391e-05/1.356, allocations: 19.19 kB / 0.9222 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009458/1.357, allocations: 0.5034 MB / 0.9227 GB, free: 16.64 MB / 0.7325 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.002753/1.359, allocations: 2.39 MB / 0.925 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004859/1.36, allocations: 358.5 kB / 0.9253 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000245/1.36, allocations: 207.4 kB / 0.9255 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006034/1.361, allocations: 312.2 kB / 0.9258 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/1.361, allocations: 36.19 kB / 0.9259 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 2.034e-06/1.361, allocations: 0 / 0.9259 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of matching and sorting (n=36): time 0.001086/1.362, allocations: 0.5407 MB / 0.9264 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/1.362, allocations: 56.31 kB / 0.9265 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005208/1.363, allocations: 0.4961 MB / 0.9269 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.555e-05/1.363, allocations: 35.77 kB / 0.927 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/1.363, allocations: 317.7 kB / 0.9273 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/1.363, allocations: 134.1 kB / 0.9274 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/1.363, allocations: 81.06 kB / 0.9275 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000155/1.363, allocations: 366.1 kB / 0.9278 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/1.363, allocations: 155 kB / 0.928 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003054/1.364, allocations: 257 kB / 0.9282 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005594/1.364, allocations: 398.6 kB / 0.9286 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.364, allocations: 5.531 kB / 0.9286 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008357/1.365, allocations: 478.8 kB / 0.9291 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/1.365, allocations: 8.656 kB / 0.9291 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/1.365, allocations: 3.938 kB / 0.9291 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/1.365, allocations: 5.031 kB / 0.9291 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006771/1.366, allocations: 102.5 kB / 0.9292 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005551/1.366, allocations: 0.5984 MB / 0.9298 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008704/1.367, allocations: 62.89 kB / 0.9298 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-05/1.367, allocations: 25.12 kB / 0.9299 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006362/1.368, allocations: 323.8 kB / 0.9302 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003377/1.368, allocations: 254.3 kB / 0.9304 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000548/1.369, allocations: 402.2 kB / 0.9308 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.454e-06/1.369, allocations: 0 / 0.9308 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007612/1.37, allocations: 483.5 kB / 0.9312 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/1.37, allocations: 8.547 kB / 0.9313 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/1.37, allocations: 3.406 kB / 0.9313 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.614e-06/1.37, allocations: 2.125 kB / 0.9313 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/1.37, allocations: 87.58 kB / 0.9313 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/1.37, allocations: 6.516 kB / 0.9314 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007107/1.371, allocations: 62.22 kB / 0.9314 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.381e-05/1.371, allocations: 19.47 kB / 0.9314 GB, free: 12.87 MB / 0.7325 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.0002695/1.371, allocations: 205.8 kB / 0.9316 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/1.371, allocations: 58 kB / 0.9317 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000836/1.372, allocations: 447.5 kB / 0.9321 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/1.372, allocations: 1.812 kB / 0.9321 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/1.372, allocations: 8.391 kB / 0.9321 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007269/1.373, allocations: 0.64 MB / 0.9327 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001897/1.375, allocations: 1.203 MB / 0.9339 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.375, allocations: 2.25 kB / 0.9339 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004707/1.375, allocations: 89.75 kB / 0.934 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/1.375, allocations: 2.469 kB / 0.934 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.101e-05/1.375, allocations: 30.22 kB / 0.934 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000522/1.376, allocations: 0.5925 MB / 0.9346 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.376, allocations: 5.031 kB / 0.9346 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009272/1.377, allocations: 0.7431 MB / 0.9353 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003402/1.377, allocations: 176.7 kB / 0.9355 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.967e-05/1.377, allocations: 12.28 kB / 0.9355 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005028/1.378, allocations: 46.88 kB / 0.9356 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/1.378, allocations: 24.92 kB / 0.9356 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/1.378, allocations: 17.94 kB / 0.9356 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004196/1.378, allocations: 357.6 kB / 0.936 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/1.378, allocations: 4 kB / 0.936 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00117/1.38, allocations: 360.7 kB / 0.9363 GB, free: 10.66 MB / 0.7325 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.0005251/1.38, allocations: 185.5 kB / 0.9365 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001216/1.381, allocations: 0.5826 MB / 0.937 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.381, allocations: 1.125 kB / 0.937 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002895/1.382, allocations: 186.1 kB / 0.9372 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/1.383, allocations: 367.9 kB / 0.9376 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/1.386, allocations: 1.57 MB / 0.9391 GB, free: 9.594 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000624/1.387, allocations: 0.946 MB / 0.94 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007258/1.387, allocations: 208.2 kB / 0.9402 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/1.387, allocations: 50.97 kB / 0.9403 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of SimCode: time 3.61e-07/1.387, allocations: 0 / 0.9403 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of Templates: time 0.02373/1.411, allocations: 11.51 MB / 0.9515 GB, free: 8.168 MB / 0.7325 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)