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.00154/0.00154, allocations: 106 kB / 16.36 MB, free: 6.289 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.001772/0.001772, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002186/0.002186, allocations: 286.2 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9561/0.9561, allocations: 169.3 MB / 0.4989 GB, free: 4.484 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 90.23 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1618, allocations: 86.98 MB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.501/0.6628, allocations: 222.6 MB / 0.8989 GB, free: 15.71 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0167/0.6796, allocations: 12.12 MB / 0.9108 GB, free: 3.555 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002528/0.6821, allocations: 75.62 kB / 0.9109 GB, free: 3.48 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002078/0.6842, allocations: 0.8537 MB / 0.9117 GB, free: 2.621 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006854/0.6912, allocations: 2.855 MB / 0.9145 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003395/0.6946, allocations: 1.443 MB / 0.9159 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005806/0.7004, allocations: 4.464 MB / 0.9202 GB, free: 9.844 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002211/0.7026, allocations: 1.713 MB / 0.9219 GB, free: 8.098 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005603/0.7082, allocations: 2.468 MB / 0.9243 GB, free: 5.629 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002799/0.711, allocations: 1.565 MB / 0.9259 GB, free: 4.082 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003109/0.7114, allocations: 176 kB / 0.926 GB, free: 3.91 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004233/0.7156, allocations: 2.171 MB / 0.9281 GB, free: 1.734 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000745/0.7164, allocations: 0.6973 MB / 0.9288 GB, free: 1.035 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001371/0.7178, allocations: 1.046 MB / 0.9298 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.005094/0.7229, allocations: 3.334 MB / 0.9331 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.7229, allocations: 0 / 0.9331 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7229, allocations: 0 / 0.9331 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.237e-05/0.7229, allocations: 0 / 0.9331 GB, free: 12.64 MB / 0.7012 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.003771/0.7267, allocations: 2.285 MB / 0.9353 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.7268, allocations: 11.97 kB / 0.9353 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003068/0.7298, allocations: 0.4972 MB / 0.9358 GB, free: 9.785 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002403/0.7323, allocations: 1.341 MB / 0.9371 GB, free: 8.387 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.61e-05/0.7323, allocations: 110.7 kB / 0.9372 GB, free: 8.277 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002131/0.7326, allocations: 147.9 kB / 0.9374 GB, free: 8.133 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002546/0.7351, allocations: 1.761 MB / 0.9391 GB, free: 6.262 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.615e-05/0.7352, allocations: 4 kB / 0.9391 GB, free: 6.258 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/0.7353, allocations: 67.92 kB / 0.9392 GB, free: 6.191 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.636e-05/0.7354, allocations: 54.53 kB / 0.9392 GB, free: 6.137 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002143/0.7375, allocations: 1.399 MB / 0.9406 GB, free: 4.73 MB / 0.7012 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.008562/0.7461, allocations: 7.285 MB / 0.9477 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/0.7477, allocations: 1.045 MB / 0.9487 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009229/0.7486, allocations: 0.6983 MB / 0.9494 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002419/0.7489, allocations: 114.2 kB / 0.9495 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/0.7489, allocations: 51.56 kB / 0.9496 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001205/0.7502, allocations: 310.5 kB / 0.9499 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=106): time 3.727e-06/0.7502, allocations: 0 / 0.9499 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of matching and sorting (n=112): time 0.007753/0.7579, allocations: 4.444 MB / 0.9542 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.62e-05/0.758, allocations: 171.3 kB / 0.9544 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/0.7596, allocations: 1.255 MB / 0.9556 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.826e-05/0.7597, allocations: 53.7 kB / 0.9556 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004909/0.7602, allocations: 0.7006 MB / 0.9563 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003228/0.7605, allocations: 402.2 kB / 0.9567 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003765/0.7609, allocations: 263.4 kB / 0.957 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.761, allocations: 357.9 kB / 0.9573 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008228/0.7619, allocations: 0.5349 MB / 0.9578 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.7629, allocations: 0.8479 MB / 0.9587 GB, free: 1.496 MB / 0.7169 GB 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) 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: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.3006/1.064, allocations: 4.8 MB / 0.9633 GB, free: 247.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-05/1.064, allocations: 3.094 kB / 0.9633 GB, free: 247.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004709/1.068, allocations: 1.611 MB / 0.9649 GB, free: 246.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.723e-05/1.068, allocations: 8.25 kB / 0.9649 GB, free: 246.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.673e-05/1.068, allocations: 13.44 kB / 0.9649 GB, free: 246.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.308e-05/1.068, allocations: 14.5 kB / 0.965 GB, free: 246.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00234/1.071, allocations: 292.9 kB / 0.9652 GB, free: 246.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.929e-05/1.071, allocations: 20.2 kB / 0.9652 GB, free: 246.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002415/1.073, allocations: 50.12 kB / 0.9653 GB, free: 246.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002392/1.074, allocations: 62.2 kB / 0.9654 GB, free: 246.6 MB / 0.7169 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol2.dynBal.medium.p = vol2.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00124/1.075, allocations: 431.8 kB / 0.9658 GB, free: 246.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006985/1.076, allocations: 167.2 kB / 0.9659 GB, free: 246.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003983/1.08, allocations: 1.291 MB / 0.9672 GB, free: 245.8 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.358e-05/1.08, allocations: 12.52 kB / 0.9672 GB, free: 245.8 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/1.08, allocations: 5.656 kB / 0.9672 GB, free: 245.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002782/1.082, allocations: 1.239 MB / 0.9684 GB, free: 245.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01232/1.095, allocations: 3.761 MB / 0.9721 GB, free: 243.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.875e-05/1.095, allocations: 10.56 kB / 0.9721 GB, free: 243.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002201/1.097, allocations: 253.9 kB / 0.9723 GB, free: 243 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.594e-05/1.097, allocations: 19.12 kB / 0.9724 GB, free: 243 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001662/1.097, allocations: 37.7 kB / 0.9724 GB, free: 243 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.15e-05/1.097, allocations: 25.33 kB / 0.9724 GB, free: 243 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.51e-05/1.097, allocations: 17.44 kB / 0.9724 GB, free: 243 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005193/1.103, allocations: 2.117 MB / 0.9745 GB, free: 241.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/1.104, allocations: 357.2 kB / 0.9748 GB, free: 241.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004994/1.105, allocations: 42 kB / 0.9749 GB, free: 241.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002316/1.107, allocations: 52.98 kB / 0.9749 GB, free: 241.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003006/1.107, allocations: 98.62 kB / 0.975 GB, free: 241.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002452/1.108, allocations: 55.55 kB / 0.9751 GB, free: 241.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002806/1.11, allocations: 0.853 MB / 0.9759 GB, free: 241.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.41e-07/1.11, allocations: 1.969 kB / 0.9759 GB, free: 241.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002684/1.113, allocations: 438 kB / 0.9763 GB, free: 241.2 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007953/1.114, allocations: 232.1 kB / 0.9766 GB, free: 241.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003812/1.118, allocations: 1.258 MB / 0.9778 GB, free: 240.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.294e-05/1.118, allocations: 2.125 kB / 0.9778 GB, free: 240.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001472/1.119, allocations: 0.5482 MB / 0.9783 GB, free: 240.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0078/1.127, allocations: 0.9339 MB / 0.9792 GB, free: 240.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009606/1.137, allocations: 3.393 MB / 0.9825 GB, free: 238.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001911/1.139, allocations: 1.374 MB / 0.9839 GB, free: 237.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002911/1.142, allocations: 386.5 kB / 0.9843 GB, free: 237.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009033/1.142, allocations: 128.2 kB / 0.9844 GB, free: 237.5 MB / 0.7169 GB Notification: Performance of SimCode: time 1.153e-06/1.143, allocations: 3.828 kB / 0.9844 GB, free: 237.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.06638/1.209, allocations: 30.37 MB / 1.014 GB, free: 221.2 MB / 0.7169 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)