Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_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.001069/0.001069, allocations: 101.5 kB / 16.27 MB, free: 5.961 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.001119/0.001119, allocations: 190.7 kB / 17.2 MB, free: 5.59 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.316/1.316, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7709/0.7709, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 67.89 kB / 0.4912 GB, free: 7.371 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3327, allocations: 77.93 MB / 0.5673 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.5148/0.8475, allocations: 222.6 MB / 0.7846 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01455/0.8621, allocations: 12.11 MB / 0.7965 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002584/0.8647, allocations: 74.22 kB / 0.7965 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002149/0.8669, allocations: 0.8524 MB / 0.7974 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006652/0.8736, allocations: 2.875 MB / 0.8002 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00333/0.8769, allocations: 1.413 MB / 0.8016 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00493/0.8819, allocations: 4.45 MB / 0.8059 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00227/0.8842, allocations: 1.714 MB / 0.8076 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005565/0.8898, allocations: 2.473 MB / 0.81 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003085/0.8929, allocations: 1.553 MB / 0.8115 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004626/0.8933, allocations: 180.3 kB / 0.8117 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00507/0.8984, allocations: 2.16 MB / 0.8138 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009163/0.8993, allocations: 0.7076 MB / 0.8145 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001535/0.9009, allocations: 1.047 MB / 0.8155 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005571/0.9065, allocations: 3.272 MB / 0.8187 GB, free: 92 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.9065, allocations: 0 / 0.8187 GB, free: 92 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9065, allocations: 3.094 kB / 0.8187 GB, free: 92 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.741e-05/0.9066, allocations: 0 / 0.8187 GB, free: 92 kB / 0.5762 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.003868/0.9105, allocations: 2.282 MB / 0.8209 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.9105, allocations: 10.62 kB / 0.8209 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002426/0.9108, allocations: 204.3 kB / 0.8211 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003205/0.914, allocations: 0.4966 MB / 0.8216 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00235/0.9163, allocations: 1.26 MB / 0.8228 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.417e-05/0.9164, allocations: 108.2 kB / 0.823 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002594/0.9167, allocations: 149.2 kB / 0.8231 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002632/0.9194, allocations: 1.756 MB / 0.8248 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.427e-05/0.9194, allocations: 5.75 kB / 0.8248 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.9195, allocations: 64.27 kB / 0.8249 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.273e-05/0.9196, allocations: 54.86 kB / 0.8249 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002087/0.9217, allocations: 1.404 MB / 0.8263 GB, free: 13.52 MB / 0.5919 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.009005/0.9307, allocations: 7.336 MB / 0.8335 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.9324, allocations: 1.056 MB / 0.8345 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009221/0.9333, allocations: 0.6917 MB / 0.8352 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002496/0.9335, allocations: 115.8 kB / 0.8353 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.848e-05/0.9336, allocations: 58.55 kB / 0.8353 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001203/0.9348, allocations: 300 kB / 0.8356 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=106): time 4.268e-06/0.9348, allocations: 0 / 0.8356 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=112): time 0.008488/0.9433, allocations: 4.443 MB / 0.84 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.788e-05/0.9434, allocations: 176.9 kB / 0.8401 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/0.945, allocations: 1.262 MB / 0.8414 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.9451, allocations: 53.7 kB / 0.8414 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004787/0.9456, allocations: 0.6975 MB / 0.8421 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003306/0.9459, allocations: 407.4 kB / 0.8425 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003585/0.9463, allocations: 259.4 kB / 0.8427 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.9464, allocations: 357.9 kB / 0.8431 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007948/0.9472, allocations: 0.5231 MB / 0.8436 GB, free: 12 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/0.9483, allocations: 0.8604 MB / 0.8444 GB, free: 15.03 MB / 0.6075 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.01146/0.9598, allocations: 4.798 MB / 0.8491 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/0.9598, allocations: 4 kB / 0.8491 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002817/0.9626, allocations: 1.617 MB / 0.8507 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.9627, allocations: 8 kB / 0.8507 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.9627, allocations: 15.94 kB / 0.8507 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.693e-05/0.9627, allocations: 16 kB / 0.8507 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.9639, allocations: 288.2 kB / 0.851 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.077e-05/0.9639, allocations: 19 kB / 0.851 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.9653, allocations: 56.02 kB / 0.8511 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.9654, allocations: 63.97 kB / 0.8511 GB, free: 8.09 MB / 0.6075 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.0007245/0.9662, allocations: 426.9 kB / 0.8515 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003256/0.9665, allocations: 162 kB / 0.8517 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002034/0.9685, allocations: 1.293 MB / 0.853 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.9686, allocations: 16.03 kB / 0.853 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.9686, allocations: 0 / 0.853 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00153/0.9701, allocations: 1.251 MB / 0.8542 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005807/0.9759, allocations: 3.768 MB / 0.8579 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.976, allocations: 11.94 kB / 0.8579 GB, free: 1 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/0.9771, allocations: 244.6 kB / 0.8581 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.726e-05/0.9771, allocations: 18.44 kB / 0.8581 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.988e-05/0.9772, allocations: 36.59 kB / 0.8582 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.616e-05/0.9772, allocations: 22.61 kB / 0.8582 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.427e-06/0.9772, allocations: 17.06 kB / 0.8582 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002701/0.9799, allocations: 2.131 MB / 0.8603 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006506/0.9806, allocations: 355 kB / 0.8606 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002076/0.9808, allocations: 35.98 kB / 0.8607 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.9819, allocations: 43.98 kB / 0.8607 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.9821, allocations: 100 kB / 0.8608 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.138e-05/0.9821, allocations: 55.98 kB / 0.8609 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00109/0.9832, allocations: 0.849 MB / 0.8617 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9832, allocations: 0 / 0.8617 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001311/0.9846, allocations: 436 kB / 0.8621 GB, free: 12.55 MB / 0.6231 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.003276/0.9879, allocations: 2.807 MB / 0.8648 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002396/0.9903, allocations: 1.431 MB / 0.8662 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.9903, allocations: 0 / 0.8662 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007331/0.991, allocations: 0.5565 MB / 0.8668 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004116/0.9951, allocations: 0.9277 MB / 0.8677 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01762/1.013, allocations: 13.76 MB / 0.8811 GB, free: 8.25 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/1.014, allocations: 1.376 MB / 0.8825 GB, free: 6.844 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001622/1.016, allocations: 385.3 kB / 0.8828 GB, free: 6.461 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009208/1.016, allocations: 0.636 MB / 0.8835 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of SimCode: time 7.22e-07/1.016, allocations: 0 / 0.8835 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1689/1.185, allocations: 42.91 MB / 0.9254 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.209/10.39, allocations: 11.88 kB / 0.9254 GB, free: 11.48 MB / 0.6856 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)