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.7521/0.7521, allocations: 127.4 MB / 134.9 MB, free: 3.43 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.001127/0.001127, allocations: 181.1 kB / 164.6 MB, free: 11.61 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.422/1.422, allocations: 205.2 MB / 399.5 MB, free: 13.54 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.0009586/0.0009584, allocations: 97.2 kB / 476.7 MB, free: 1.523 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.158e-05/2.173e-05, allocations: 5.156 kB / 0.5466 GB, free: 95.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1863, allocations: 76.76 MB / 0.6215 GB, free: 43.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.77/5.956, allocations: 2.16 GB / 2.781 GB, free: 186.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003334/5.957, allocations: 91.77 kB / 2.781 GB, free: 186.1 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.282/7.239, allocations: 473.9 MB / 3.244 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.693e-06/7.239, allocations: 0 / 3.244 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.236e-05/7.239, allocations: 23.98 kB / 3.244 GB, free: 11.34 MB / 0.6511 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.002432/7.242, allocations: 1.032 MB / 3.245 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/7.242, allocations: 12.03 kB / 3.245 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/7.243, allocations: 202.9 kB / 3.245 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/7.245, allocations: 0.6362 MB / 3.246 GB, free: 9.363 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/7.245, allocations: 16 kB / 3.246 GB, free: 9.348 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/7.245, allocations: 36 kB / 3.246 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007702/7.246, allocations: 462.5 kB / 3.246 GB, free: 8.859 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008095/7.247, allocations: 0.5244 MB / 3.247 GB, free: 8.316 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/7.247, allocations: 3.938 kB / 3.247 GB, free: 8.312 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.264e-05/7.247, allocations: 7.953 kB / 3.247 GB, free: 8.305 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.639e-05/7.247, allocations: 21.25 kB / 3.247 GB, free: 8.285 MB / 0.6511 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.002638/7.249, allocations: 2.293 MB / 3.249 GB, free: 5.793 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004523/7.25, allocations: 351 kB / 3.249 GB, free: 5.441 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/7.25, allocations: 204.8 kB / 3.25 GB, free: 5.238 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004961/7.251, allocations: 303.3 kB / 3.25 GB, free: 4.887 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/7.251, allocations: 38.5 kB / 3.25 GB, free: 4.84 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=38): time 2.024e-06/7.251, allocations: 0 / 3.25 GB, free: 4.84 MB / 0.6511 GB Notification: Performance of matching and sorting (n=38): time 0.001249/7.252, allocations: 473 kB / 3.25 GB, free: 4.371 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.885e-05/7.252, allocations: 55.41 kB / 3.25 GB, free: 4.305 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003603/7.252, allocations: 361 kB / 3.251 GB, free: 3.945 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.563e-05/7.252, allocations: 29.7 kB / 3.251 GB, free: 3.91 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/7.252, allocations: 320.3 kB / 3.251 GB, free: 3.59 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.662e-05/7.253, allocations: 130.1 kB / 3.251 GB, free: 3.461 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/7.253, allocations: 0 / 3.251 GB, free: 3.461 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.554e-05/7.253, allocations: 362.8 kB / 3.252 GB, free: 3.098 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/7.253, allocations: 157.1 kB / 3.252 GB, free: 2.945 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002809/7.253, allocations: 276.8 kB / 3.252 GB, free: 2.633 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004245/7.254, allocations: 232.7 kB / 3.252 GB, free: 2.402 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/7.254, allocations: 0 / 3.252 GB, free: 2.402 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008358/7.254, allocations: 0.5387 MB / 3.253 GB, free: 1.855 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000184/7.255, allocations: 0.846 MB / 3.254 GB, free: 0.9375 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/7.255, allocations: 0 / 3.254 GB, free: 0.9375 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/7.255, allocations: 4 kB / 3.254 GB, free: 0.9336 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/7.256, allocations: 187.7 kB / 3.254 GB, free: 0.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005651/7.256, allocations: 0.6563 MB / 3.254 GB, free: 72 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006869/7.257, allocations: 67.59 kB / 3.254 GB, free: 4 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.3878/7.645, allocations: 18.05 kB / 3.254 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/7.645, allocations: 5.219 kB / 3.254 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00136/7.646, allocations: 461.3 kB / 3.255 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/7.646, allocations: 1.812 kB / 3.255 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/7.647, allocations: 10.56 kB / 3.255 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004498/7.647, allocations: 97.17 kB / 3.255 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/7.647, allocations: 5.766 kB / 3.255 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007092/7.648, allocations: 54.38 kB / 3.255 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.637e-05/7.648, allocations: 25.97 kB / 3.255 GB, free: 127.5 MB / 0.6511 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 (senMasFra2.i_x,senMasFra1.i_x) * Number of discrete 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 (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.0001663/7.648, allocations: 111.2 kB / 3.255 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/7.648, allocations: 53.67 kB / 3.255 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008918/7.649, allocations: 453.9 kB / 3.256 GB, free: 127.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/7.649, allocations: 4.156 kB / 3.256 GB, free: 127.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/7.649, allocations: 1.531 kB / 3.256 GB, free: 127.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006469/7.65, allocations: 0.672 MB / 3.256 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002119/7.652, allocations: 1.157 MB / 3.257 GB, free: 126.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/7.652, allocations: 6.078 kB / 3.257 GB, free: 126.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/7.653, allocations: 189.4 kB / 3.258 GB, free: 126.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.155e-05/7.653, allocations: 3.578 kB / 3.258 GB, free: 126.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/7.653, allocations: 8.266 kB / 3.258 GB, free: 126.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001726/7.655, allocations: 1.393 MB / 3.259 GB, free: 125.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/7.655, allocations: 5.656 kB / 3.259 GB, free: 125.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/7.656, allocations: 0.8139 MB / 3.26 GB, free: 125 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002654/7.656, allocations: 172.9 kB / 3.26 GB, free: 124.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.147e-05/7.656, allocations: 6.922 kB / 3.26 GB, free: 124.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005685/7.657, allocations: 60.69 kB / 3.26 GB, free: 124.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.961e-05/7.657, allocations: 32.8 kB / 3.26 GB, free: 124.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.722e-05/7.657, allocations: 15.81 kB / 3.26 GB, free: 124.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003587/7.658, allocations: 277.4 kB / 3.26 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/7.658, allocations: 0 / 3.26 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001434/7.659, allocations: 444.9 kB / 3.261 GB, free: 124.8 MB / 0.6511 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 () * 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 (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.002347/7.661, allocations: 1.58 MB / 3.262 GB, free: 124.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001929/7.663, allocations: 0.9176 MB / 3.263 GB, free: 124.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/7.663, allocations: 0 / 3.263 GB, free: 124.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009808/7.664, allocations: 273.3 kB / 3.264 GB, free: 124.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/7.666, allocations: 311.3 kB / 3.264 GB, free: 124.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/7.668, allocations: 1.065 MB / 3.265 GB, free: 123.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005079/7.669, allocations: 0.9607 MB / 3.266 GB, free: 123.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0009334/7.67, allocations: 221.9 kB / 3.266 GB, free: 123.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/7.67, allocations: 40.91 kB / 3.266 GB, free: 123.1 MB / 0.6511 GB Notification: Performance of SimCode: time 1.162e-06/7.67, allocations: 0 / 3.266 GB, free: 123.1 MB / 0.6511 GB Notification: Performance of Templates: time 0.03062/7.701, allocations: 19.6 MB / 3.285 GB, free: 122.8 MB / 0.6511 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)