Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7228/0.7228, allocations: 128.7 MB / 144.5 MB, free: 1.391 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001258/0.001258, allocations: 194 kB / 174.2 MB, free: 5.938 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205 MB / 408.9 MB, free: 9.734 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 101.9 kB / 485.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 56.53 kB / 0.558 GB, free: 97.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1296, allocations: 75.47 MB / 0.6317 GB, free: 33.07 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction): time 0.4624/0.5921, allocations: 194.1 MB / 0.8212 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.006794/0.599, allocations: 4.715 MB / 0.8258 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009786/0.6, allocations: 27.34 kB / 0.8259 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0009924/0.601, allocations: 343.5 kB / 0.8262 GB, free: 8.133 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.00293/0.604, allocations: 1.266 MB / 0.8274 GB, free: 7.41 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001809/0.6058, allocations: 0.6722 MB / 0.8281 GB, free: 6.984 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002729/0.6085, allocations: 2.912 MB / 0.8309 GB, free: 5.496 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007344/0.6093, allocations: 0.5706 MB / 0.8315 GB, free: 5.152 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001603/0.6109, allocations: 0.9554 MB / 0.8324 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001047/0.6119, allocations: 0.6295 MB / 0.833 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 8.346e-05/0.612, allocations: 37.59 kB / 0.8331 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002269/0.6143, allocations: 1.442 MB / 0.8345 GB, free: 3.688 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002502/0.6146, allocations: 261.5 kB / 0.8347 GB, free: 3.527 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003701/0.615, allocations: 396.7 kB / 0.8351 GB, free: 3.301 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.6166, allocations: 1.576 MB / 0.8366 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.6167, allocations: 0 / 0.8366 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6167, allocations: 0 / 0.8366 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.6167, allocations: 0 / 0.8366 GB, free: 2.363 MB / 0.5261 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.001635/0.6183, allocations: 1.151 MB / 0.8378 GB, free: 1.434 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.6184, allocations: 14.28 kB / 0.8378 GB, free: 1.43 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.6194, allocations: 195.3 kB / 0.838 GB, free: 1.34 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008656/0.6203, allocations: 0.5686 MB / 0.8385 GB, free: 0.8828 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.779e-05/0.6203, allocations: 43.47 kB / 0.8386 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.654e-05/0.6204, allocations: 64.48 kB / 0.8386 GB, free: 0.8398 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.6216, allocations: 0.6669 MB / 0.8393 GB, free: 452 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.6217, allocations: 0 / 0.8393 GB, free: 452 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.556e-05/0.6217, allocations: 21.09 kB / 0.8393 GB, free: 436 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.218e-05/0.6218, allocations: 22.41 kB / 0.8393 GB, free: 432 kB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.6228, allocations: 0.5616 MB / 0.8399 GB, free: 152 kB / 0.5261 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.002642/0.6255, allocations: 2.402 MB / 0.8422 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008965/0.6264, allocations: 461.5 kB / 0.8427 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003299/0.6267, allocations: 228.4 kB / 0.8429 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000506/0.6272, allocations: 318.7 kB / 0.8432 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.6273, allocations: 36.88 kB / 0.8432 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=38): time 1.653e-06/0.6273, allocations: 0 / 0.8432 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of matching and sorting (n=38): time 0.001578/0.6289, allocations: 0.6441 MB / 0.8438 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.6289, allocations: 61.34 kB / 0.8439 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004784/0.6294, allocations: 0.4913 MB / 0.8444 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/0.6295, allocations: 36.52 kB / 0.8444 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.6296, allocations: 309.9 kB / 0.8447 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.6298, allocations: 141.8 kB / 0.8448 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.6299, allocations: 97.08 kB / 0.8449 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.63, allocations: 370 kB / 0.8453 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003538/0.6304, allocations: 195.8 kB / 0.8455 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004112/0.6308, allocations: 287 kB / 0.8457 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007324/0.6316, allocations: 0.5102 MB / 0.8462 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.6316, allocations: 4 kB / 0.8463 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009905/0.6326, allocations: 0.6332 MB / 0.8469 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.241e-05/0.6326, allocations: 65.47 kB / 0.8469 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.6326, allocations: 3.984 kB / 0.8469 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.6327, allocations: 5.062 kB / 0.8469 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.6338, allocations: 168.9 kB / 0.8471 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002417/0.6362, allocations: 1.493 MB / 0.8486 GB, free: 8.957 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005123/0.6368, allocations: 75.7 kB / 0.8486 GB, free: 8.883 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.264e-05/0.6368, allocations: 20 kB / 0.8487 GB, free: 8.863 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005134/0.6373, allocations: 361.1 kB / 0.849 GB, free: 8.508 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003754/0.6377, allocations: 296.1 kB / 0.8493 GB, free: 8.18 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006778/0.6384, allocations: 0.4902 MB / 0.8498 GB, free: 7.648 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.176e-06/0.6384, allocations: 0 / 0.8498 GB, free: 7.648 MB / 0.5417 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.0009047/0.6393, allocations: 0.6157 MB / 0.8504 GB, free: 7.012 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.955e-05/0.6394, allocations: 59.41 kB / 0.8504 GB, free: 6.941 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-06/0.6394, allocations: 0 / 0.8504 GB, free: 6.941 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.699e-06/0.6394, allocations: 7.938 kB / 0.8504 GB, free: 6.934 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003691/0.6398, allocations: 99.89 kB / 0.8505 GB, free: 6.836 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.6398, allocations: 7.938 kB / 0.8505 GB, free: 6.828 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004264/0.6402, allocations: 67.77 kB / 0.8506 GB, free: 6.762 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.6403, allocations: 20 kB / 0.8506 GB, free: 6.742 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (senMasFra1.i_x,senMasFra2.i_x) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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.0001394/0.6404, allocations: 211 kB / 0.8508 GB, free: 6.531 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.332e-05/0.6405, allocations: 55.47 kB / 0.8509 GB, free: 6.477 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008878/0.6414, allocations: 0.5005 MB / 0.8514 GB, free: 5.965 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.6414, allocations: 7.938 kB / 0.8514 GB, free: 5.957 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.6414, allocations: 0 / 0.8514 GB, free: 5.957 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000762/0.6422, allocations: 0.6984 MB / 0.852 GB, free: 5.172 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001922/0.6441, allocations: 1.262 MB / 0.8533 GB, free: 3.844 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-06/0.6442, allocations: 0 / 0.8533 GB, free: 3.844 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/0.6454, allocations: 184 kB / 0.8534 GB, free: 3.664 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.6454, allocations: 0 / 0.8534 GB, free: 3.664 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.073e-05/0.6454, allocations: 12 kB / 0.8535 GB, free: 3.652 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001975/0.6474, allocations: 1.462 MB / 0.8549 GB, free: 2.059 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.6474, allocations: 3.938 kB / 0.8549 GB, free: 2.055 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009544/0.6569, allocations: 4.05 MB / 0.8588 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002509/0.6572, allocations: 188.3 kB / 0.859 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.125e-05/0.6573, allocations: 8 kB / 0.859 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004656/0.6578, allocations: 59.78 kB / 0.8591 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.704e-05/0.6578, allocations: 35.83 kB / 0.8591 GB, free: 13.51 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/0.6579, allocations: 20 kB / 0.8591 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000349/0.6582, allocations: 354.8 kB / 0.8595 GB, free: 13.15 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6582, allocations: 4 kB / 0.8595 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001691/0.6599, allocations: 0.546 MB / 0.86 GB, free: 12.6 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (37): * Single equations (assignments): 36 * 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.000407/0.6603, allocations: 206.4 kB / 0.8602 GB, free: 12.41 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002093/0.6624, allocations: 0.967 MB / 0.8612 GB, free: 11.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6625, allocations: 0 / 0.8612 GB, free: 11.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.6636, allocations: 300.8 kB / 0.8614 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/0.6653, allocations: 359 kB / 0.8618 GB, free: 10.76 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.6678, allocations: 1.894 MB / 0.8636 GB, free: 8.812 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/0.6682, allocations: 0.9575 MB / 0.8646 GB, free: 7.828 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006525/0.6689, allocations: 205 kB / 0.8648 GB, free: 7.629 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.669, allocations: 51.44 kB / 0.8648 GB, free: 7.578 MB / 0.5573 GB Notification: Performance of SimCode: time 2.4e-07/0.6691, allocations: 4 kB / 0.8648 GB, free: 7.574 MB / 0.5573 GB Notification: Performance of Templates: time 0.01992/0.689, allocations: 14.22 MB / 0.8787 GB, free: 9.539 MB / 0.573 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)