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.001583/0.001583, allocations: 103.3 kB / 16.4 MB, free: 6.492 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.00105/0.00105, allocations: 193.2 kB / 17.34 MB, free: 5.766 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7084/0.7084, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 70.88 kB / 0.5572 GB, free: 32.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1582, allocations: 76.17 MB / 0.6316 GB, free: 4.883 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.5954/0.7537, allocations: 222.6 MB / 0.849 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01891/0.7726, allocations: 12.13 MB / 0.8608 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003057/0.7757, allocations: 75.44 kB / 0.8609 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002846/0.7786, allocations: 0.8546 MB / 0.8617 GB, free: 200 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008389/0.787, allocations: 2.862 MB / 0.8645 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003804/0.7908, allocations: 1.441 MB / 0.8659 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006212/0.7971, allocations: 4.458 MB / 0.8703 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003074/0.8001, allocations: 1.721 MB / 0.872 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006421/0.8066, allocations: 2.495 MB / 0.8744 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003408/0.81, allocations: 1.566 MB / 0.8759 GB, free: 2.434 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0007912/0.8108, allocations: 180 kB / 0.8761 GB, free: 2.258 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005307/0.8161, allocations: 2.167 MB / 0.8782 GB, free: 88 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001319/0.8175, allocations: 0.6934 MB / 0.8789 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002403/0.8199, allocations: 1.046 MB / 0.8799 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006389/0.8263, allocations: 3.334 MB / 0.8832 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.8263, allocations: 0 / 0.8832 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8263, allocations: 0 / 0.8832 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001049/0.8264, allocations: 4 kB / 0.8832 GB, free: 10.99 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.005195/0.8316, allocations: 2.276 MB / 0.8854 GB, free: 8.656 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.8317, allocations: 8.031 kB / 0.8854 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004527/0.8322, allocations: 214.8 kB / 0.8856 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003284/0.8355, allocations: 0.4972 MB / 0.8861 GB, free: 7.93 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002908/0.8384, allocations: 1.341 MB / 0.8874 GB, free: 6.531 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.651e-05/0.8385, allocations: 106.8 kB / 0.8875 GB, free: 6.426 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003115/0.8388, allocations: 151.9 kB / 0.8877 GB, free: 6.277 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003181/0.842, allocations: 1.764 MB / 0.8894 GB, free: 4.402 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.988e-05/0.8421, allocations: 3.984 kB / 0.8894 GB, free: 4.398 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001939/0.8423, allocations: 60 kB / 0.8894 GB, free: 4.34 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.83e-05/0.8423, allocations: 50.55 kB / 0.8895 GB, free: 4.289 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002656/0.845, allocations: 1.399 MB / 0.8909 GB, free: 2.883 MB / 0.6387 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.009973/0.855, allocations: 7.294 MB / 0.898 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/0.8566, allocations: 1.059 MB / 0.899 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009608/0.8576, allocations: 0.7061 MB / 0.8997 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002333/0.8579, allocations: 106.1 kB / 0.8998 GB, free: 9.266 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/0.8579, allocations: 47.56 kB / 0.8998 GB, free: 9.211 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001234/0.8592, allocations: 310.8 kB / 0.9001 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=106): time 8.356e-06/0.8592, allocations: 0 / 0.9001 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of matching and sorting (n=112): time 0.008989/0.8682, allocations: 4.446 MB / 0.9045 GB, free: 4.379 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.225e-05/0.8683, allocations: 167.2 kB / 0.9046 GB, free: 4.18 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/0.8701, allocations: 1.27 MB / 0.9059 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.8702, allocations: 49.7 kB / 0.9059 GB, free: 2.844 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005166/0.8707, allocations: 0.693 MB / 0.9066 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003673/0.8711, allocations: 398.2 kB / 0.907 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003939/0.8715, allocations: 263.4 kB / 0.9072 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.8717, allocations: 358 kB / 0.9076 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008887/0.8726, allocations: 0.5309 MB / 0.9081 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.8737, allocations: 0.8557 MB / 0.9089 GB, free: 15.62 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.01115/0.8849, allocations: 4.79 MB / 0.9136 GB, free: 10.67 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.8849, allocations: 4 kB / 0.9136 GB, free: 10.67 MB / 0.67 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002566/0.8875, allocations: 1.619 MB / 0.9152 GB, free: 9.039 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.8875, allocations: 8 kB / 0.9152 GB, free: 9.031 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.8875, allocations: 8 kB / 0.9152 GB, free: 9.023 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.93e-05/0.8876, allocations: 16.75 kB / 0.9152 GB, free: 9.008 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.8887, allocations: 291.5 kB / 0.9155 GB, free: 8.723 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.168e-05/0.8888, allocations: 27.92 kB / 0.9155 GB, free: 8.695 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.8901, allocations: 56.58 kB / 0.9156 GB, free: 8.641 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.8903, allocations: 59.98 kB / 0.9156 GB, free: 8.582 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.0007673/0.8911, allocations: 425.3 kB / 0.916 GB, free: 8.156 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004645/0.8915, allocations: 158.1 kB / 0.9162 GB, free: 8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00223/0.8938, allocations: 1.299 MB / 0.9175 GB, free: 6.688 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.8938, allocations: 16 kB / 0.9175 GB, free: 6.672 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.8938, allocations: 7.938 kB / 0.9175 GB, free: 6.664 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001535/0.8953, allocations: 1.248 MB / 0.9187 GB, free: 5.352 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006238/0.9016, allocations: 3.758 MB / 0.9224 GB, free: 1.395 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.632e-05/0.9016, allocations: 8 kB / 0.9224 GB, free: 1.387 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/0.9027, allocations: 247.6 kB / 0.9226 GB, free: 1.145 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.031e-05/0.9028, allocations: 12.72 kB / 0.9226 GB, free: 1.133 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.603e-05/0.9029, allocations: 43.92 kB / 0.9227 GB, free: 1.09 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.708e-05/0.9029, allocations: 27.88 kB / 0.9227 GB, free: 1.062 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.088e-05/0.9029, allocations: 15.94 kB / 0.9227 GB, free: 1.047 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002736/0.9057, allocations: 2.125 MB / 0.9248 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008771/0.9065, allocations: 355 kB / 0.9251 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003236/0.9069, allocations: 43.92 kB / 0.9252 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/0.9081, allocations: 46.05 kB / 0.9252 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.9082, allocations: 104.3 kB / 0.9253 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.626e-05/0.9083, allocations: 47.98 kB / 0.9254 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001317/0.9097, allocations: 0.849 MB / 0.9262 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9097, allocations: 4 kB / 0.9262 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001566/0.9113, allocations: 436 kB / 0.9266 GB, free: 12.88 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.00381/0.9151, allocations: 2.8 MB / 0.9293 GB, free: 9.934 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002295/0.9174, allocations: 1.247 MB / 0.9306 GB, free: 8.688 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/0.9174, allocations: 8 kB / 0.9306 GB, free: 8.68 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007356/0.9181, allocations: 0.5523 MB / 0.9311 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004964/0.9231, allocations: 0.9271 MB / 0.932 GB, free: 7.227 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01899/0.9421, allocations: 12.66 MB / 0.9444 GB, free: 9.887 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/0.9434, allocations: 1.384 MB / 0.9457 GB, free: 8.473 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001381/0.9448, allocations: 389.3 kB / 0.9461 GB, free: 8.086 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009268/0.9458, allocations: 0.6399 MB / 0.9467 GB, free: 7.445 MB / 0.7012 GB Notification: Performance of SimCode: time 9.92e-07/0.9458, allocations: 0 / 0.9467 GB, free: 7.445 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07884/1.025, allocations: 44.02 MB / 0.9897 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.72/15.74, allocations: 2.031 kB / 0.9897 GB, free: 11.91 MB / 0.7481 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)