Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction") translateModel(IBPSA.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001145/0.001145, allocations: 96.58 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 175.7 kB / 16.57 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.2 MB / 240.5 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6587/0.6587, allocations: 113.8 MB / 405.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003171/0.0003171, allocations: 12 kB / 493 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.147, allocations: 77.15 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MassFraction): time 0.4315/0.5786, allocations: 155.3 MB / 0.7085 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007377/0.586, allocations: 4.449 MB / 0.7128 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000681/0.5867, allocations: 27.81 kB / 0.7129 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.5879, allocations: 430 kB / 0.7133 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003229/0.5911, allocations: 1.243 MB / 0.7145 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002427/0.5936, allocations: 0.853 MB / 0.7153 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001804/0.5954, allocations: 1.124 MB / 0.7164 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006793/0.5961, allocations: 0.493 MB / 0.7169 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.5975, allocations: 0.7281 MB / 0.7176 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005096/0.598, allocations: 370.5 kB / 0.718 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.557e-05/0.5981, allocations: 28 kB / 0.718 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001561/0.5996, allocations: 0.6825 MB / 0.7187 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002356/0.5999, allocations: 227.4 kB / 0.7189 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.6, allocations: 169.3 kB / 0.719 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.6011, allocations: 0.924 MB / 0.7199 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.6011, allocations: 3.938 kB / 0.7199 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6011, allocations: 4 kB / 0.72 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.6011, allocations: 0 / 0.72 GB, free: 2.859 MB / 0.5294 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.001418/0.6025, allocations: 0.9368 MB / 0.7209 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.6026, allocations: 12.03 kB / 0.7209 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.6038, allocations: 198.9 kB / 0.7211 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009121/0.6047, allocations: 0.5563 MB / 0.7216 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/0.6048, allocations: 41.31 kB / 0.7217 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.691e-05/0.6049, allocations: 56 kB / 0.7217 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009287/0.6058, allocations: 0.6205 MB / 0.7223 GB, free: 344 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.6059, allocations: 3.984 kB / 0.7223 GB, free: 340 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.142e-05/0.6059, allocations: 23.98 kB / 0.7223 GB, free: 316 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-05/0.606, allocations: 21.31 kB / 0.7224 GB, free: 296 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007628/0.6067, allocations: 493 kB / 0.7228 GB, free: 15.81 MB / 0.545 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.002815/0.6096, allocations: 2.396 MB / 0.7252 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006105/0.6102, allocations: 375.5 kB / 0.7255 GB, free: 12.83 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003721/0.6106, allocations: 141 kB / 0.7257 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.6106, allocations: 38.56 kB / 0.7257 GB, free: 12.62 MB / 0.545 GB Notification: Performance of pre-optimization done (n=36): time 1.814e-06/0.6106, allocations: 0 / 0.7257 GB, free: 12.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=36): time 0.001073/0.6117, allocations: 0.541 MB / 0.7262 GB, free: 12.08 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.6117, allocations: 55.41 kB / 0.7263 GB, free: 12.01 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005408/0.6123, allocations: 0.4912 MB / 0.7268 GB, free: 11.51 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/0.6123, allocations: 33.7 kB / 0.7268 GB, free: 11.47 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/0.6126, allocations: 323.8 kB / 0.7271 GB, free: 11.15 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.6127, allocations: 130.1 kB / 0.7272 GB, free: 11.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.911e-05/0.6127, allocations: 4 kB / 0.7272 GB, free: 11.02 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.6129, allocations: 370.8 kB / 0.7276 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.6131, allocations: 140.8 kB / 0.7277 GB, free: 10.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003096/0.6134, allocations: 255.8 kB / 0.728 GB, free: 10.22 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.6137, allocations: 190.1 kB / 0.7281 GB, free: 10.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.6137, allocations: 0 / 0.7281 GB, free: 10.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007108/0.6144, allocations: 489.4 kB / 0.7286 GB, free: 9.551 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003249/0.6148, allocations: 0.8655 MB / 0.7295 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.6148, allocations: 7.953 kB / 0.7295 GB, free: 8.609 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.6148, allocations: 4 kB / 0.7295 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005791/0.6154, allocations: 112.7 kB / 0.7296 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003548/0.6157, allocations: 0.5899 MB / 0.7301 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000571/0.6163, allocations: 79.58 kB / 0.7302 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.99e-05/0.6164, allocations: 31.86 kB / 0.7303 GB, free: 7.773 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.6164, allocations: 6.031 kB / 0.7303 GB, free: 7.77 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005972/0.617, allocations: 399.9 kB / 0.7306 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-06/0.617, allocations: 0 / 0.7306 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.31e-06/0.617, allocations: 8.062 kB / 0.7306 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003613/0.6174, allocations: 91.84 kB / 0.7307 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.6174, allocations: 11.94 kB / 0.7307 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000504/0.6179, allocations: 67.92 kB / 0.7308 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/0.618, allocations: 16 kB / 0.7308 GB, free: 7.188 MB / 0.545 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.000309/0.6183, allocations: 309 kB / 0.7311 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.416e-05/0.6184, allocations: 59.33 kB / 0.7312 GB, free: 6.816 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006971/0.6191, allocations: 440.6 kB / 0.7316 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.6191, allocations: 4 kB / 0.7316 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.6191, allocations: 3.953 kB / 0.7316 GB, free: 6.367 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006063/0.6197, allocations: 0.658 MB / 0.7322 GB, free: 5.625 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.6214, allocations: 1.204 MB / 0.7334 GB, free: 4.344 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.6214, allocations: 4 kB / 0.7334 GB, free: 4.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004827/0.6219, allocations: 100.1 kB / 0.7335 GB, free: 4.242 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.256e-05/0.622, allocations: 4 kB / 0.7335 GB, free: 4.238 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.622, allocations: 12 kB / 0.7335 GB, free: 4.227 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002963/0.6223, allocations: 0.5899 MB / 0.7341 GB, free: 3.613 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.6223, allocations: 0 / 0.7341 GB, free: 3.613 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009163/0.6232, allocations: 0.8019 MB / 0.7349 GB, free: 2.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002616/0.6235, allocations: 176.3 kB / 0.7351 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.851e-05/0.6236, allocations: 8 kB / 0.7351 GB, free: 2.531 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004466/0.624, allocations: 51.75 kB / 0.7351 GB, free: 2.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.6241, allocations: 23.92 kB / 0.7351 GB, free: 2.457 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.484e-05/0.6241, allocations: 15.98 kB / 0.7352 GB, free: 2.441 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004023/0.6245, allocations: 350.8 kB / 0.7355 GB, free: 2.102 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6246, allocations: 4 kB / 0.7355 GB, free: 2.098 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009338/0.6255, allocations: 347.2 kB / 0.7358 GB, free: 1.758 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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.0004317/0.6259, allocations: 198.3 kB / 0.736 GB, free: 1.566 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00117/0.6271, allocations: 0.5784 MB / 0.7366 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.6271, allocations: 0 / 0.7366 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003101/0.6274, allocations: 192.7 kB / 0.7368 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/0.6291, allocations: 342 kB / 0.7371 GB, free: 484 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/0.6313, allocations: 1.683 MB / 0.7387 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005011/0.6318, allocations: 0.9611 MB / 0.7397 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006814/0.6325, allocations: 204.9 kB / 0.7399 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.6327, allocations: 51.42 kB / 0.7399 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of SimCode: time 6.71e-07/0.6327, allocations: 0 / 0.7399 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of Templates: time 0.0199/0.6526, allocations: 11.03 MB / 0.7507 GB, free: 2.664 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)