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: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.144/1.144, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001995/0.001995, allocations: 283 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8394/0.8394, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 97.14 kB / 0.5953 GB, free: 27.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1217, allocations: 86.98 MB / 0.6803 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.4195/0.5412, allocations: 222.6 MB / 0.8976 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01377/0.555, allocations: 12.11 MB / 0.9095 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.5563, allocations: 71.06 kB / 0.9095 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001576/0.5579, allocations: 0.8629 MB / 0.9104 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004789/0.5627, allocations: 2.863 MB / 0.9132 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002402/0.5651, allocations: 1.421 MB / 0.9146 GB, free: 7.395 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003529/0.5686, allocations: 4.451 MB / 0.9189 GB, free: 2.926 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001573/0.5702, allocations: 1.713 MB / 0.9206 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003676/0.5739, allocations: 2.471 MB / 0.923 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001829/0.5757, allocations: 1.553 MB / 0.9245 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002409/0.576, allocations: 180 kB / 0.9247 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003115/0.5791, allocations: 2.167 MB / 0.9268 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005324/0.5797, allocations: 0.7012 MB / 0.9275 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008551/0.5805, allocations: 1.046 MB / 0.9285 GB, free: 9.066 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002957/0.5835, allocations: 3.291 MB / 0.9317 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.5835, allocations: 0 / 0.9317 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5835, allocations: 0 / 0.9317 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.576e-05/0.5835, allocations: 0 / 0.9317 GB, free: 5.766 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.002921/0.5865, allocations: 2.277 MB / 0.9339 GB, free: 3.434 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.5865, allocations: 8.031 kB / 0.9339 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000215/0.5867, allocations: 210.8 kB / 0.9341 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002566/0.5893, allocations: 0.5011 MB / 0.9346 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001644/0.5909, allocations: 1.247 MB / 0.9359 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.7e-05/0.591, allocations: 118.7 kB / 0.936 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/0.5912, allocations: 155.9 kB / 0.9361 GB, free: 1.133 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002182/0.5934, allocations: 1.749 MB / 0.9378 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.5934, allocations: 7.938 kB / 0.9378 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.5936, allocations: 63.98 kB / 0.9379 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-05/0.5936, allocations: 58.55 kB / 0.938 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/0.5956, allocations: 1.402 MB / 0.9393 GB, free: 13.74 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.006685/0.6023, allocations: 7.34 MB / 0.9465 GB, free: 6.016 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.6036, allocations: 1.051 MB / 0.9475 GB, free: 4.922 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008154/0.6044, allocations: 0.6906 MB / 0.9482 GB, free: 4.223 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001712/0.6046, allocations: 110.1 kB / 0.9483 GB, free: 4.098 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.6047, allocations: 59.48 kB / 0.9484 GB, free: 4.031 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008365/0.6055, allocations: 306.7 kB / 0.9486 GB, free: 3.73 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=106): time 2.726e-06/0.6055, allocations: 3.938 kB / 0.9486 GB, free: 3.727 MB / 0.6544 GB Notification: Performance of matching and sorting (n=112): time 0.006685/0.6122, allocations: 4.436 MB / 0.953 GB, free: 15.21 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.445e-05/0.6123, allocations: 179.3 kB / 0.9531 GB, free: 15 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.6135, allocations: 1.259 MB / 0.9544 GB, free: 13.73 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.742e-05/0.6136, allocations: 53.7 kB / 0.9544 GB, free: 13.67 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004395/0.6141, allocations: 0.7006 MB / 0.9551 GB, free: 12.96 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002741/0.6144, allocations: 402.2 kB / 0.9555 GB, free: 12.56 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00032/0.6147, allocations: 259.4 kB / 0.9557 GB, free: 12.3 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.6148, allocations: 353.9 kB / 0.9561 GB, free: 11.95 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007342/0.6155, allocations: 0.527 MB / 0.9566 GB, free: 11.43 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009151/0.6165, allocations: 0.8598 MB / 0.9574 GB, free: 10.44 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.01009/0.6265, allocations: 4.807 MB / 0.9621 GB, free: 5.48 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.6266, allocations: 4 kB / 0.9621 GB, free: 5.477 MB / 0.67 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.0021/0.6287, allocations: 1.623 MB / 0.9637 GB, free: 3.844 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.6287, allocations: 8 kB / 0.9637 GB, free: 3.836 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.6287, allocations: 8 kB / 0.9637 GB, free: 3.828 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.6287, allocations: 14.62 kB / 0.9638 GB, free: 3.816 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.6298, allocations: 287.5 kB / 0.964 GB, free: 3.535 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-05/0.6298, allocations: 24.42 kB / 0.964 GB, free: 3.512 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.6309, allocations: 53.81 kB / 0.9641 GB, free: 3.461 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.06e-05/0.631, allocations: 63.97 kB / 0.9642 GB, free: 3.398 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.0004877/0.6314, allocations: 425.3 kB / 0.9646 GB, free: 2.973 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002702/0.6317, allocations: 162 kB / 0.9647 GB, free: 2.812 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001763/0.6335, allocations: 1.287 MB / 0.966 GB, free: 1.512 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.6335, allocations: 15.98 kB / 0.966 GB, free: 1.496 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6335, allocations: 0 / 0.966 GB, free: 1.496 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001348/0.6349, allocations: 1.256 MB / 0.9672 GB, free: 180 kB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004655/0.6395, allocations: 3.758 MB / 0.9709 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.6396, allocations: 8 kB / 0.9709 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.6406, allocations: 247.6 kB / 0.9711 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.547e-05/0.6406, allocations: 16 kB / 0.9711 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.142e-05/0.6407, allocations: 40.53 kB / 0.9712 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-05/0.6407, allocations: 23.92 kB / 0.9712 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.6407, allocations: 15.94 kB / 0.9712 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002306/0.643, allocations: 2.121 MB / 0.9733 GB, free: 9.594 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004436/0.6435, allocations: 359 kB / 0.9736 GB, free: 9.223 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/0.6437, allocations: 37.06 kB / 0.9737 GB, free: 9.188 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009309/0.6446, allocations: 49.28 kB / 0.9737 GB, free: 9.141 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.6447, allocations: 100.2 kB / 0.9738 GB, free: 9.043 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.806e-05/0.6448, allocations: 59.97 kB / 0.9739 GB, free: 8.984 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009002/0.6457, allocations: 0.8528 MB / 0.9747 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.353e-06/0.6457, allocations: 112 / 0.9747 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000963/0.6467, allocations: 439.9 kB / 0.9751 GB, free: 7.703 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.002774/0.6495, allocations: 2.81 MB / 0.9779 GB, free: 4.75 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002045/0.6515, allocations: 1.426 MB / 0.9793 GB, free: 3.324 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.6515, allocations: 0 / 0.9793 GB, free: 3.324 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006732/0.6522, allocations: 0.5562 MB / 0.9798 GB, free: 2.77 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003463/0.6557, allocations: 0.9249 MB / 0.9807 GB, free: 1.875 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0145/0.6702, allocations: 13.75 MB / 0.9941 GB, free: 3.16 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008062/0.671, allocations: 1.376 MB / 0.9955 GB, free: 1.75 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001139/0.6722, allocations: 381.3 kB / 0.9958 GB, free: 1.371 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007493/0.6729, allocations: 0.6417 MB / 0.9965 GB, free: 0.7344 MB / 0.7012 GB Notification: Performance of SimCode: time 2.2e-07/0.6729, allocations: 0 / 0.9965 GB, free: 0.7344 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.851/2.524, allocations: 42.97 MB / 1.038 GB, free: 6.391 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.963/10.49, allocations: 4.5 kB / 1.038 GB, free: 6.387 MB / 0.7481 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)