Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007732/0.0007732, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0007999/0.0007998, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001765/0.001765, allocations: 262.6 kB / 291.3 MB, free: 1.957 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.932/0.932, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003936/0.0003936, allocations: 17.92 kB / 0.598 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1366, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.4623/0.5989, allocations: 202.7 MB / 0.8825 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0152/0.6142, allocations: 11.38 MB / 0.8936 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001432/0.6156, allocations: 59.62 kB / 0.8936 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00156/0.6172, allocations: 0.5781 MB / 0.8942 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005039/0.6222, allocations: 2.115 MB / 0.8963 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00267/0.6249, allocations: 1.031 MB / 0.8973 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005508/0.6304, allocations: 5.155 MB / 0.9023 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001752/0.6322, allocations: 1.323 MB / 0.9036 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003722/0.636, allocations: 1.937 MB / 0.9055 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001908/0.6379, allocations: 1.436 MB / 0.9069 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001996/0.6381, allocations: 80 kB / 0.907 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002695/0.6408, allocations: 1.064 MB / 0.908 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006169/0.6414, allocations: 0.5919 MB / 0.9086 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004375/0.6419, allocations: 380.7 kB / 0.909 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002318/0.6442, allocations: 2.26 MB / 0.9112 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6442, allocations: 0 / 0.9112 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6442, allocations: 0 / 0.9112 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.411e-05/0.6442, allocations: 0 / 0.9112 GB, free: 8.082 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.002994/0.6472, allocations: 1.907 MB / 0.913 GB, free: 6.121 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.6473, allocations: 8.031 kB / 0.913 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002869/0.6502, allocations: 0.5024 MB / 0.9135 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001921/0.6521, allocations: 1.205 MB / 0.9147 GB, free: 4.348 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.762e-05/0.6522, allocations: 110.8 kB / 0.9148 GB, free: 4.238 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002048/0.6524, allocations: 155.9 kB / 0.915 GB, free: 4.086 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002601/0.655, allocations: 1.745 MB / 0.9167 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.258e-05/0.6551, allocations: 3.938 kB / 0.9167 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/0.6552, allocations: 67.92 kB / 0.9167 GB, free: 2.16 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-05/0.6553, allocations: 54.55 kB / 0.9168 GB, free: 2.105 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002207/0.6575, allocations: 1.388 MB / 0.9181 GB, free: 0.7109 MB / 0.6231 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.008132/0.6656, allocations: 7.317 MB / 0.9253 GB, free: 9.016 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/0.6672, allocations: 1.046 MB / 0.9263 GB, free: 7.93 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00095/0.6682, allocations: 0.6828 MB / 0.927 GB, free: 7.234 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002099/0.6684, allocations: 118.2 kB / 0.9271 GB, free: 7.102 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.061e-05/0.6685, allocations: 59.5 kB / 0.9271 GB, free: 7.031 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00103/0.6695, allocations: 306.5 kB / 0.9274 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=106): time 3.266e-06/0.6695, allocations: 0 / 0.9274 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of matching and sorting (n=112): time 0.007672/0.6772, allocations: 4.413 MB / 0.9317 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.133e-05/0.6773, allocations: 171.2 kB / 0.9319 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/0.6788, allocations: 1.251 MB / 0.9331 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.839e-05/0.6789, allocations: 57.83 kB / 0.9332 GB, free: 0.7109 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000505/0.6794, allocations: 0.6968 MB / 0.9339 GB, free: 8 kB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000341/0.6797, allocations: 406.2 kB / 0.9342 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-05/0.6798, allocations: 24 kB / 0.9343 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.68, allocations: 357.9 kB / 0.9346 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007917/0.6808, allocations: 0.5075 MB / 0.9351 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.6818, allocations: 0.8446 MB / 0.9359 GB, free: 13.75 MB / 0.6544 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (sin.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.009192/0.691, allocations: 3.495 MB / 0.9393 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.6911, allocations: 4 kB / 0.9393 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002461/0.6935, allocations: 1.608 MB / 0.9409 GB, free: 8.602 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.6936, allocations: 12 kB / 0.9409 GB, free: 8.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.6936, allocations: 8 kB / 0.9409 GB, free: 8.582 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/0.6936, allocations: 16 kB / 0.941 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.6947, allocations: 287.5 kB / 0.9412 GB, free: 8.285 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.187e-05/0.6948, allocations: 19.98 kB / 0.9412 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.696, allocations: 107.9 kB / 0.9413 GB, free: 8.164 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.6961, allocations: 63.97 kB / 0.9414 GB, free: 8.102 MB / 0.6544 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol2.dynBal.medium.p = vol2.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006614/0.6968, allocations: 419.2 kB / 0.9418 GB, free: 7.684 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002966/0.6971, allocations: 166 kB / 0.942 GB, free: 7.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002119/0.6992, allocations: 1.271 MB / 0.9432 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.6992, allocations: 16 kB / 0.9432 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.6993, allocations: 5.672 kB / 0.9432 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001535/0.7008, allocations: 1.221 MB / 0.9444 GB, free: 4.926 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005467/0.7063, allocations: 3.749 MB / 0.9481 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.7063, allocations: 8.938 kB / 0.9481 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/0.7075, allocations: 247.6 kB / 0.9483 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-05/0.7075, allocations: 20 kB / 0.9483 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-05/0.7076, allocations: 36 kB / 0.9484 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.827e-05/0.7076, allocations: 23.92 kB / 0.9484 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/0.7077, allocations: 15.94 kB / 0.9484 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002659/0.7103, allocations: 2.102 MB / 0.9505 GB, free: 14.38 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005591/0.7109, allocations: 355 kB / 0.9508 GB, free: 14.01 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001977/0.7111, allocations: 35.98 kB / 0.9508 GB, free: 13.98 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.7121, allocations: 97.36 kB / 0.9509 GB, free: 13.88 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.7123, allocations: 104.3 kB / 0.951 GB, free: 13.78 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.871e-05/0.7124, allocations: 55.98 kB / 0.9511 GB, free: 13.72 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001032/0.7134, allocations: 0.8373 MB / 0.9519 GB, free: 12.89 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7134, allocations: 0 / 0.9519 GB, free: 12.89 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001216/0.7146, allocations: 436 kB / 0.9523 GB, free: 12.46 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.y) * 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 (115): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004432/0.7151, allocations: 237.8 kB / 0.9526 GB, free: 12.23 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001818/0.7169, allocations: 1.212 MB / 0.9537 GB, free: 11.02 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.7169, allocations: 4 kB / 0.9537 GB, free: 11.01 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007658/0.7177, allocations: 0.5368 MB / 0.9543 GB, free: 10.48 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003734/0.7215, allocations: 0.8849 MB / 0.9551 GB, free: 9.602 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005125/0.7266, allocations: 4.048 MB / 0.9591 GB, free: 5.387 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009482/0.7276, allocations: 1.372 MB / 0.9604 GB, free: 3.988 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001478/0.729, allocations: 381.3 kB / 0.9608 GB, free: 3.609 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003722/0.7294, allocations: 127.4 kB / 0.9609 GB, free: 3.484 MB / 0.67 GB Notification: Performance of SimCode: time 2.5e-07/0.7294, allocations: 0 / 0.9609 GB, free: 3.484 MB / 0.67 GB Notification: Performance of Templates: time 0.04442/0.7739, allocations: 27.77 MB / 0.988 GB, free: 8.117 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)