Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.67/1.67, allocations: 289.9 MB / 297.4 MB, free: 6.43 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001143/0.001143, allocations: 176.8 kB / 366.7 MB, free: 1.68 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 205.2 MB / 0.626 GB, free: 7.191 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008646/0.0008645, allocations: 100.9 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.787e-05/1.789e-05, allocations: 4 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6473/0.6473, allocations: 116.3 MB / 0.9732 GB, free: 76.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.42/5.068, allocations: 2.084 GB / 3.057 GB, free: 45.58 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/5.068, allocations: 87.95 kB / 3.057 GB, free: 45.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.284/7.352, allocations: 475.6 MB / 3.522 GB, free: 231.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.623e-06/7.352, allocations: 0 / 3.522 GB, free: 231.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.846e-05/7.352, allocations: 22.52 kB / 3.522 GB, free: 231.9 MB / 0.948 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.002374/7.355, allocations: 0.9864 MB / 3.523 GB, free: 231.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/7.355, allocations: 12.75 kB / 3.523 GB, free: 231.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/7.356, allocations: 204.1 kB / 3.523 GB, free: 231.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002265/7.358, allocations: 0.8971 MB / 3.524 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.88e-05/7.358, allocations: 16.03 kB / 3.524 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/7.358, allocations: 37.5 kB / 3.524 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009344/7.359, allocations: 432.5 kB / 3.524 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/7.36, allocations: 0.5151 MB / 3.525 GB, free: 231.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/7.36, allocations: 1.344 kB / 3.525 GB, free: 231.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.708e-05/7.361, allocations: 3.953 kB / 3.525 GB, free: 231.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.136e-05/7.361, allocations: 19.03 kB / 3.525 GB, free: 231.1 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.002971/7.364, allocations: 2.274 MB / 3.527 GB, free: 229.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000537/7.364, allocations: 316.2 kB / 3.527 GB, free: 229.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/7.364, allocations: 188 kB / 3.527 GB, free: 229.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005527/7.365, allocations: 308.5 kB / 3.528 GB, free: 229.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/7.365, allocations: 37.12 kB / 3.528 GB, free: 229.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 3.617e-06/7.365, allocations: 2.906 kB / 3.528 GB, free: 229.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.001207/7.366, allocations: 424.1 kB / 3.528 GB, free: 229.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/7.366, allocations: 59.38 kB / 3.528 GB, free: 229.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000435/7.367, allocations: 353.7 kB / 3.528 GB, free: 229.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/7.367, allocations: 25.7 kB / 3.528 GB, free: 229.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/7.367, allocations: 323 kB / 3.529 GB, free: 229.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/7.367, allocations: 124.6 kB / 3.529 GB, free: 229.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.764e-05/7.367, allocations: 0 / 3.529 GB, free: 229.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001089/7.367, allocations: 356.8 kB / 3.529 GB, free: 228.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/7.367, allocations: 131.7 kB / 3.529 GB, free: 228.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003256/7.368, allocations: 275.6 kB / 3.53 GB, free: 228.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003848/7.368, allocations: 206 kB / 3.53 GB, free: 228.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/7.368, allocations: 1.344 kB / 3.53 GB, free: 228.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006917/7.369, allocations: 457.1 kB / 3.53 GB, free: 228.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002241/7.369, allocations: 0.8791 MB / 3.531 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/7.369, allocations: 2.844 kB / 3.531 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/7.369, allocations: 3.812 kB / 3.531 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005646/7.37, allocations: 98.28 kB / 3.531 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003546/7.37, allocations: 0.6035 MB / 3.532 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006194/7.371, allocations: 56.59 kB / 3.532 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.742e-05/7.371, allocations: 18.73 kB / 3.532 GB, free: 227 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/7.371, allocations: 6.344 kB / 3.532 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006872/7.372, allocations: 370.4 kB / 3.532 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/7.372, allocations: 3.188 kB / 3.532 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.735e-06/7.372, allocations: 3.656 kB / 3.532 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003414/7.372, allocations: 90.52 kB / 3.532 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/7.372, allocations: 6.438 kB / 3.532 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004517/7.372, allocations: 48.94 kB / 3.532 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.267e-05/7.372, allocations: 23.98 kB / 3.532 GB, free: 227 MB / 0.948 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 () * 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.0001262/7.373, allocations: 118 kB / 3.533 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.747e-05/7.373, allocations: 49.34 kB / 3.533 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000787/7.373, allocations: 420.1 kB / 3.533 GB, free: 226.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/7.374, allocations: 3.75 kB / 3.533 GB, free: 226.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/7.374, allocations: 0 / 3.533 GB, free: 226.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006546/7.374, allocations: 0.6499 MB / 3.534 GB, free: 226.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/7.376, allocations: 1.108 MB / 3.535 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/7.376, allocations: 1.844 kB / 3.535 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004752/7.376, allocations: 97.11 kB / 3.535 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.557e-06/7.376, allocations: 7.25 kB / 3.535 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.008e-05/7.376, allocations: 9.188 kB / 3.535 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002082/7.377, allocations: 0.5954 MB / 3.535 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/7.377, allocations: 1.281 kB / 3.535 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/7.378, allocations: 0.7875 MB / 3.536 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/7.378, allocations: 178.4 kB / 3.536 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/7.378, allocations: 3.312 kB / 3.536 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004211/7.378, allocations: 36.47 kB / 3.536 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/7.379, allocations: 25.81 kB / 3.536 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.822e-05/7.379, allocations: 19.72 kB / 3.536 GB, free: 225 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003976/7.379, allocations: 279.2 kB / 3.537 GB, free: 224.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.61e-07/7.379, allocations: 0 / 3.537 GB, free: 224.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001672/7.381, allocations: 436.7 kB / 3.537 GB, free: 224.9 MB / 0.948 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 () * 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.002793/7.383, allocations: 1.548 MB / 3.539 GB, free: 224.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001369/7.385, allocations: 0.5509 MB / 3.539 GB, free: 224.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/7.385, allocations: 1.094 kB / 3.539 GB, free: 224.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003159/7.385, allocations: 180.1 kB / 3.539 GB, free: 224.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/7.387, allocations: 315.1 kB / 3.54 GB, free: 224.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/7.389, allocations: 1.028 MB / 3.541 GB, free: 224.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005075/7.389, allocations: 0.9556 MB / 3.542 GB, free: 223.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008846/7.39, allocations: 225.4 kB / 3.542 GB, free: 223.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/7.391, allocations: 40.91 kB / 3.542 GB, free: 223.4 MB / 0.948 GB Notification: Performance of SimCode: time 6.32e-07/7.391, allocations: 0 / 3.542 GB, free: 223.4 MB / 0.948 GB Notification: Performance of Templates: time 0.02932/7.42, allocations: 18.31 MB / 3.56 GB, free: 222.8 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)