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.001047/0.001047, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001129/0.001128, allocations: 194.7 kB / 16.14 MB, free: 6.66 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.319/1.319, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002072/0.002072, allocations: 302.7 kB / 290.3 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9292/0.9292, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 90.19 kB / 0.5945 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1883, allocations: 86.99 MB / 0.6794 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.5302/0.7185, allocations: 220.3 MB / 0.8946 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01742/0.736, allocations: 12.21 MB / 0.9065 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002681/0.7387, allocations: 69.47 kB / 0.9066 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002115/0.7408, allocations: 0.7132 MB / 0.9073 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007072/0.7479, allocations: 2.693 MB / 0.9099 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003354/0.7513, allocations: 1.286 MB / 0.9112 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006487/0.7578, allocations: 6.092 MB / 0.9171 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00196/0.7598, allocations: 1.501 MB / 0.9186 GB, free: 3.012 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005023/0.7648, allocations: 2.203 MB / 0.9207 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003314/0.7681, allocations: 1.6 MB / 0.9223 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000396/0.7686, allocations: 104 kB / 0.9224 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004837/0.7734, allocations: 2.47 MB / 0.9248 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007976/0.7742, allocations: 0.6348 MB / 0.9254 GB, free: 12 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001493/0.7757, allocations: 0.9678 MB / 0.9264 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005123/0.7809, allocations: 3.334 MB / 0.9296 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.7809, allocations: 0 / 0.9296 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.303e-06/0.7809, allocations: 3.938 kB / 0.9296 GB, free: 7.68 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.787e-05/0.7809, allocations: 0 / 0.9296 GB, free: 7.68 MB / 0.6387 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.003914/0.7849, allocations: 2.285 MB / 0.9319 GB, free: 5.34 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001544/0.785, allocations: 15.97 kB / 0.9319 GB, free: 5.324 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003121/0.7881, allocations: 0.5011 MB / 0.9324 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002046/0.7902, allocations: 1.243 MB / 0.9336 GB, free: 3.52 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001874/0.7904, allocations: 114.7 kB / 0.9337 GB, free: 3.406 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002261/0.7906, allocations: 155.9 kB / 0.9338 GB, free: 3.254 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002905/0.7936, allocations: 1.762 MB / 0.9356 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.396e-05/0.7936, allocations: 7.938 kB / 0.9356 GB, free: 1.375 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/0.7937, allocations: 64 kB / 0.9356 GB, free: 1.312 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.708e-05/0.7938, allocations: 50.53 kB / 0.9357 GB, free: 1.262 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002207/0.796, allocations: 1.403 MB / 0.937 GB, free: 15.85 MB / 0.6544 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.00858/0.8046, allocations: 7.297 MB / 0.9442 GB, free: 8.172 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.8064, allocations: 1.055 MB / 0.9452 GB, free: 7.074 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009334/0.8073, allocations: 0.6906 MB / 0.9459 GB, free: 6.375 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002209/0.8076, allocations: 114.1 kB / 0.946 GB, free: 6.246 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.8076, allocations: 55.5 kB / 0.946 GB, free: 6.184 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001236/0.8088, allocations: 302.7 kB / 0.9463 GB, free: 5.887 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=106): time 3.367e-06/0.8089, allocations: 0 / 0.9463 GB, free: 5.887 MB / 0.6544 GB Notification: Performance of matching and sorting (n=112): time 0.007991/0.8169, allocations: 4.414 MB / 0.9506 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.343e-05/0.817, allocations: 171.2 kB / 0.9508 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/0.8184, allocations: 1.259 MB / 0.952 GB, free: 15.91 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.238e-05/0.8185, allocations: 53.7 kB / 0.9521 GB, free: 15.85 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004938/0.819, allocations: 0.7005 MB / 0.9528 GB, free: 15.15 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003557/0.8194, allocations: 406.2 kB / 0.9532 GB, free: 14.75 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000368/0.8198, allocations: 267.5 kB / 0.9534 GB, free: 14.48 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.8199, allocations: 357.9 kB / 0.9537 GB, free: 14.12 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008159/0.8207, allocations: 0.5192 MB / 0.9543 GB, free: 13.61 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.8218, allocations: 0.8481 MB / 0.9551 GB, free: 12.63 MB / 0.67 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.01155/0.8333, allocations: 4.745 MB / 0.9597 GB, free: 7.734 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.8334, allocations: 0 / 0.9597 GB, free: 7.734 MB / 0.67 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00255/0.8359, allocations: 1.6 MB / 0.9613 GB, free: 6.125 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.836, allocations: 8 kB / 0.9613 GB, free: 6.117 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.836, allocations: 8 kB / 0.9613 GB, free: 6.109 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.829e-05/0.836, allocations: 12.81 kB / 0.9613 GB, free: 6.098 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.8372, allocations: 299.5 kB / 0.9616 GB, free: 5.805 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-05/0.8372, allocations: 23.88 kB / 0.9616 GB, free: 5.781 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.8386, allocations: 109.2 kB / 0.9617 GB, free: 5.676 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.8387, allocations: 59.98 kB / 0.9618 GB, free: 5.617 MB / 0.67 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.0007233/0.8395, allocations: 431.5 kB / 0.9622 GB, free: 5.188 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002972/0.8398, allocations: 166 kB / 0.9623 GB, free: 5.023 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002035/0.8418, allocations: 1.271 MB / 0.9636 GB, free: 3.738 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.8418, allocations: 12.05 kB / 0.9636 GB, free: 3.727 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.8418, allocations: 3.984 kB / 0.9636 GB, free: 3.723 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001526/0.8434, allocations: 1.237 MB / 0.9648 GB, free: 2.422 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00534/0.8487, allocations: 3.75 MB / 0.9685 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.8487, allocations: 8 kB / 0.9685 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/0.8498, allocations: 247.6 kB / 0.9687 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.288e-05/0.8499, allocations: 16 kB / 0.9687 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.758e-05/0.8499, allocations: 39.94 kB / 0.9688 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.598e-05/0.85, allocations: 23.92 kB / 0.9688 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-05/0.85, allocations: 15.94 kB / 0.9688 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002566/0.8526, allocations: 2.097 MB / 0.9709 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006565/0.8532, allocations: 355 kB / 0.9712 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001929/0.8534, allocations: 43.92 kB / 0.9712 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.8545, allocations: 93.09 kB / 0.9713 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.8547, allocations: 100.3 kB / 0.9714 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.117e-05/0.8548, allocations: 47.98 kB / 0.9715 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001055/0.8558, allocations: 0.8529 MB / 0.9723 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8558, allocations: 3.938 kB / 0.9723 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001346/0.8572, allocations: 432 kB / 0.9727 GB, free: 9.953 MB / 0.6856 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.0005167/0.8577, allocations: 248.7 kB / 0.973 GB, free: 9.711 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001857/0.8596, allocations: 1.207 MB / 0.9741 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.495e-06/0.8596, allocations: 4 kB / 0.9741 GB, free: 8.5 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007351/0.8603, allocations: 0.5408 MB / 0.9747 GB, free: 7.965 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003694/0.864, allocations: 0.8957 MB / 0.9755 GB, free: 7.082 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005143/0.8692, allocations: 4.022 MB / 0.9795 GB, free: 2.895 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008897/0.8701, allocations: 1.372 MB / 0.9808 GB, free: 1.488 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001387/0.8715, allocations: 389.3 kB / 0.9812 GB, free: 1.102 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003748/0.8719, allocations: 127.4 kB / 0.9813 GB, free: 0.9805 MB / 0.6856 GB Notification: Performance of SimCode: time 6.21e-07/0.8719, allocations: 0 / 0.9813 GB, free: 0.9805 MB / 0.6856 GB Notification: Performance of Templates: time 0.04375/0.9156, allocations: 28.87 MB / 1.009 GB, free: 4.527 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)