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.001336/0.001336, allocations: 107.7 kB / 16.4 MB, free: 6.473 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.001303/0.001303, allocations: 189.2 kB / 17.34 MB, free: 5.754 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.257/1.257, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6668/0.6668, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 70.75 kB / 0.5577 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.13, allocations: 76.19 MB / 0.6321 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MassFraction): time 0.4881/0.6181, allocations: 186.8 MB / 0.8145 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00688/0.6251, allocations: 4.571 MB / 0.8189 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.6261, allocations: 35.34 kB / 0.819 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.6273, allocations: 401.7 kB / 0.8194 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003528/0.6309, allocations: 1.347 MB / 0.8207 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001974/0.6329, allocations: 0.7531 MB / 0.8214 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002445/0.6354, allocations: 1.963 MB / 0.8233 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008143/0.6362, allocations: 0.657 MB / 0.824 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002713/0.6389, allocations: 1.089 MB / 0.825 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009764/0.6399, allocations: 0.5866 MB / 0.8256 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.716e-05/0.64, allocations: 62.69 kB / 0.8257 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002497/0.6425, allocations: 1.388 MB / 0.827 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002648/0.6428, allocations: 286.5 kB / 0.8273 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004193/0.6432, allocations: 415.1 kB / 0.8277 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001911/0.6452, allocations: 1.478 MB / 0.8291 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6452, allocations: 2.812 kB / 0.8291 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6452, allocations: 0 / 0.8291 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.6452, allocations: 0 / 0.8291 GB, free: 4.242 MB / 0.5919 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.001419/0.6466, allocations: 1.101 MB / 0.8302 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.6467, allocations: 7.875 kB / 0.8302 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.6479, allocations: 206.7 kB / 0.8304 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008497/0.6487, allocations: 0.6083 MB / 0.831 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.171e-05/0.6488, allocations: 44.83 kB / 0.831 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.224e-05/0.6489, allocations: 55 kB / 0.8311 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008662/0.6497, allocations: 0.6262 MB / 0.8317 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.6498, allocations: 3.938 kB / 0.8317 GB, free: 2.367 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.038e-05/0.6498, allocations: 25.22 kB / 0.8317 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.437e-05/0.6499, allocations: 18.75 kB / 0.8318 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006793/0.6505, allocations: 499.8 kB / 0.8322 GB, free: 2.109 MB / 0.5919 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.002511/0.6531, allocations: 2.403 MB / 0.8346 GB, free: 28 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005729/0.6536, allocations: 364.5 kB / 0.8349 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002666/0.6539, allocations: 217.1 kB / 0.8351 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005196/0.6544, allocations: 307.1 kB / 0.8354 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.6545, allocations: 38.56 kB / 0.8355 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 2.074e-06/0.6545, allocations: 1.812 kB / 0.8355 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36): time 0.001045/0.6555, allocations: 0.546 MB / 0.836 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.6556, allocations: 53.53 kB / 0.8361 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005153/0.6561, allocations: 0.5059 MB / 0.8365 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/0.6562, allocations: 32.2 kB / 0.8366 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.6564, allocations: 323.5 kB / 0.8369 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.6565, allocations: 124 kB / 0.837 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.6566, allocations: 87.41 kB / 0.8371 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.6568, allocations: 366.9 kB / 0.8374 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.657, allocations: 155.2 kB / 0.8376 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/0.6573, allocations: 262.3 kB / 0.8378 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005104/0.6578, allocations: 402.7 kB / 0.8382 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6578, allocations: 3.312 kB / 0.8382 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006507/0.6585, allocations: 486.6 kB / 0.8387 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.6585, allocations: 4.906 kB / 0.8387 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.6585, allocations: 4.688 kB / 0.8387 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.6585, allocations: 6.797 kB / 0.8387 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005252/0.6591, allocations: 97.77 kB / 0.8388 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003444/0.6594, allocations: 0.6008 MB / 0.8394 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004539/0.6599, allocations: 52.11 kB / 0.8394 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.6599, allocations: 12.81 kB / 0.8394 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003734/0.6603, allocations: 335.2 kB / 0.8398 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002693/0.6606, allocations: 254.8 kB / 0.84 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004625/0.6611, allocations: 410.2 kB / 0.8404 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.168e-06/0.6611, allocations: 0 / 0.8404 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006008/0.6617, allocations: 489.4 kB / 0.8409 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.6617, allocations: 11.41 kB / 0.8409 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.6617, allocations: 2.688 kB / 0.8409 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.763e-06/0.6617, allocations: 10.38 kB / 0.8409 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003085/0.662, allocations: 82.06 kB / 0.841 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.6621, allocations: 2.938 kB / 0.841 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004081/0.6625, allocations: 39.92 kB / 0.841 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/0.6625, allocations: 16.22 kB / 0.841 GB, free: 11.47 MB / 0.6075 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.0001392/0.6626, allocations: 212.6 kB / 0.8412 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.93e-05/0.6627, allocations: 58.53 kB / 0.8413 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006482/0.6634, allocations: 446.3 kB / 0.8417 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.6634, allocations: 4.875 kB / 0.8417 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.6634, allocations: 0 / 0.8417 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005387/0.664, allocations: 0.6566 MB / 0.8424 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.6654, allocations: 1.201 MB / 0.8435 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.6654, allocations: 2.875 kB / 0.8435 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004128/0.6658, allocations: 94.22 kB / 0.8436 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.6658, allocations: 2.531 kB / 0.8436 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.012e-05/0.6659, allocations: 15.78 kB / 0.8436 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002775/0.6661, allocations: 0.589 MB / 0.8442 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.6662, allocations: 2.094 kB / 0.8442 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007759/0.6669, allocations: 0.7122 MB / 0.8449 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.6671, allocations: 180.8 kB / 0.8451 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.345e-05/0.6672, allocations: 17.25 kB / 0.8451 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003515/0.6676, allocations: 11.62 kB / 0.8451 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.6676, allocations: 29.38 kB / 0.8451 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/0.6677, allocations: 18.3 kB / 0.8452 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003399/0.668, allocations: 355.5 kB / 0.8455 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.668, allocations: 0 / 0.8455 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000783/0.6688, allocations: 350.8 kB / 0.8458 GB, free: 7.922 MB / 0.6075 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 (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.0004137/0.6692, allocations: 206.7 kB / 0.846 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001008/0.6702, allocations: 0.5857 MB / 0.8466 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6703, allocations: 0 / 0.8466 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002742/0.6705, allocations: 187.7 kB / 0.8468 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.672, allocations: 361.7 kB / 0.8471 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.6738, allocations: 1.335 MB / 0.8484 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004445/0.6743, allocations: 0.9414 MB / 0.8493 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004999/0.6748, allocations: 204.9 kB / 0.8495 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.6749, allocations: 51.44 kB / 0.8496 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.6749, allocations: 0 / 0.8496 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of Templates: time 0.01729/0.6922, allocations: 11.88 MB / 0.8612 GB, free: 8.32 MB / 0.6231 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)