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.001014/0.001015, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006112/0.006112, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.329/1.329, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00171/0.00171, allocations: 266.2 kB / 291.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9266/0.9266, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004551/0.0004549, allocations: 13.19 kB / 0.5987 GB, free: 27.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1787, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.5763/0.7551, allocations: 217.3 MB / 0.8974 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01994/0.775, allocations: 12.08 MB / 0.9092 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002696/0.7778, allocations: 67.56 kB / 0.9092 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002489/0.7803, allocations: 0.7148 MB / 0.9099 GB, free: 9.629 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007978/0.7883, allocations: 2.688 MB / 0.9125 GB, free: 6.926 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004357/0.7926, allocations: 1.302 MB / 0.9138 GB, free: 5.637 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.008695/0.8014, allocations: 6.085 MB / 0.9198 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002527/0.8039, allocations: 1.453 MB / 0.9212 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005976/0.8099, allocations: 2.148 MB / 0.9233 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003824/0.8137, allocations: 1.515 MB / 0.9247 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003776/0.8141, allocations: 80 kB / 0.9248 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004765/0.8189, allocations: 2.451 MB / 0.9272 GB, free: 7.848 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006987/0.8196, allocations: 0.588 MB / 0.9278 GB, free: 7.258 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001331/0.821, allocations: 0.9343 MB / 0.9287 GB, free: 6.312 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005455/0.8264, allocations: 3.282 MB / 0.9319 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.8265, allocations: 0 / 0.9319 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.455e-06/0.8265, allocations: 4 kB / 0.9319 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.797e-05/0.8266, allocations: 0 / 0.9319 GB, free: 3.016 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.004054/0.8306, allocations: 1.899 MB / 0.9338 GB, free: 1.062 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.8307, allocations: 8.031 kB / 0.9338 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003179/0.8339, allocations: 0.5049 MB / 0.9343 GB, free: 0.5469 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002198/0.8361, allocations: 1.255 MB / 0.9355 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.948e-05/0.8362, allocations: 110.7 kB / 0.9356 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002266/0.8364, allocations: 151.8 kB / 0.9357 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002783/0.8392, allocations: 1.764 MB / 0.9375 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.459e-05/0.8392, allocations: 0 / 0.9375 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00014/0.8394, allocations: 67.92 kB / 0.9375 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-05/0.8395, allocations: 58.47 kB / 0.9376 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00219/0.8417, allocations: 1.399 MB / 0.939 GB, free: 11.57 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.009032/0.8507, allocations: 7.305 MB / 0.9461 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.8523, allocations: 1.055 MB / 0.9471 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009236/0.8533, allocations: 0.7023 MB / 0.9478 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001965/0.8535, allocations: 106.1 kB / 0.9479 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.39e-05/0.8535, allocations: 59.5 kB / 0.948 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001343/0.8549, allocations: 306.7 kB / 0.9483 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=106): time 4.268e-06/0.8549, allocations: 4 kB / 0.9483 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of matching and sorting (n=112): time 0.008456/0.8634, allocations: 4.411 MB / 0.9526 GB, free: 13.09 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.8635, allocations: 175.3 kB / 0.9527 GB, free: 12.88 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001674/0.8652, allocations: 1.255 MB / 0.954 GB, free: 11.61 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.8653, allocations: 53.7 kB / 0.954 GB, free: 11.55 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005969/0.8659, allocations: 0.7007 MB / 0.9547 GB, free: 10.85 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004096/0.8664, allocations: 410.2 kB / 0.9551 GB, free: 10.44 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.8665, allocations: 121.6 kB / 0.9552 GB, free: 10.32 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.8667, allocations: 361.9 kB / 0.9555 GB, free: 9.957 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008262/0.8675, allocations: 0.5153 MB / 0.9561 GB, free: 9.441 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.8686, allocations: 0.8485 MB / 0.9569 GB, free: 8.473 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.01156/0.8802, allocations: 4.763 MB / 0.9615 GB, free: 3.555 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.8802, allocations: 0 / 0.9615 GB, free: 3.555 MB / 0.67 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002572/0.8828, allocations: 1.604 MB / 0.9631 GB, free: 1.941 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.8828, allocations: 8 kB / 0.9631 GB, free: 1.934 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.8828, allocations: 8 kB / 0.9631 GB, free: 1.926 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/0.8829, allocations: 12 kB / 0.9631 GB, free: 1.914 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.884, allocations: 291.5 kB / 0.9634 GB, free: 1.629 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.792e-05/0.884, allocations: 28.94 kB / 0.9634 GB, free: 1.602 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/0.8856, allocations: 116.2 kB / 0.9635 GB, free: 1.492 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.8857, allocations: 59.98 kB / 0.9636 GB, free: 1.434 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 sytem: 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.0007323/0.8865, allocations: 417.4 kB / 0.964 GB, free: 1.016 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003034/0.8868, allocations: 174 kB / 0.9642 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002128/0.8889, allocations: 1.275 MB / 0.9654 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.8889, allocations: 15.98 kB / 0.9654 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.8889, allocations: 0 / 0.9654 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001566/0.8905, allocations: 1.237 MB / 0.9666 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005791/0.8963, allocations: 3.743 MB / 0.9703 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/0.8964, allocations: 12 kB / 0.9703 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.8975, allocations: 251.7 kB / 0.9705 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.808e-05/0.8975, allocations: 16 kB / 0.9706 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.335e-05/0.8976, allocations: 43.92 kB / 0.9706 GB, free: 9.973 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.687e-05/0.8976, allocations: 19.92 kB / 0.9706 GB, free: 9.953 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.467e-06/0.8976, allocations: 19.88 kB / 0.9706 GB, free: 9.934 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002638/0.9003, allocations: 2.101 MB / 0.9727 GB, free: 7.684 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006148/0.9009, allocations: 355 kB / 0.973 GB, free: 7.316 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/0.9011, allocations: 43.92 kB / 0.9731 GB, free: 7.273 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.9023, allocations: 93.91 kB / 0.9732 GB, free: 7.184 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.9024, allocations: 100.3 kB / 0.9732 GB, free: 7.086 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.796e-05/0.9025, allocations: 47.98 kB / 0.9733 GB, free: 7.039 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001112/0.9036, allocations: 0.8568 MB / 0.9741 GB, free: 6.184 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9036, allocations: 0 / 0.9741 GB, free: 6.184 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001607/0.9052, allocations: 432 kB / 0.9745 GB, free: 5.762 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.0006254/0.9059, allocations: 251.7 kB / 0.9748 GB, free: 5.516 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002109/0.908, allocations: 1.219 MB / 0.976 GB, free: 4.297 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.908, allocations: 0 / 0.976 GB, free: 4.297 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000781/0.9088, allocations: 0.5408 MB / 0.9765 GB, free: 3.762 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006288/0.9151, allocations: 0.8848 MB / 0.9774 GB, free: 2.895 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006035/0.9212, allocations: 4.148 MB / 0.9814 GB, free: 14.58 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/0.9223, allocations: 1.376 MB / 0.9828 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001735/0.924, allocations: 385.3 kB / 0.9831 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004024/0.9245, allocations: 131.4 kB / 0.9833 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of SimCode: time 7.52e-07/0.9245, allocations: 0 / 0.9833 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of Templates: time 0.04805/0.9725, allocations: 28.67 MB / 1.011 GB, free: 396 kB / 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)