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.00116/0.00116, allocations: 101.5 kB / 16.4 MB, free: 6.504 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.001261/0.001261, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.273/1.273, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6741/0.6741, allocations: 115.3 MB / 406.5 MB, free: 6.219 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 64.55 kB / 0.5572 GB, free: 32.37 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1378, allocations: 76.18 MB / 0.6316 GB, free: 4.855 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.5473/0.6852, allocations: 222.6 MB / 0.849 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01845/0.7037, allocations: 12.12 MB / 0.8608 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00282/0.7065, allocations: 74.91 kB / 0.8609 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002166/0.7087, allocations: 0.8571 MB / 0.8617 GB, free: 152 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007167/0.716, allocations: 2.861 MB / 0.8645 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003703/0.7197, allocations: 1.437 MB / 0.8659 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006048/0.7258, allocations: 4.467 MB / 0.8703 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002829/0.7286, allocations: 1.717 MB / 0.872 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006639/0.7352, allocations: 2.496 MB / 0.8744 GB, free: 3.914 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003565/0.7388, allocations: 1.562 MB / 0.8759 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0006646/0.7395, allocations: 184 kB / 0.8761 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00513/0.7446, allocations: 2.167 MB / 0.8782 GB, free: 24 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00109/0.7457, allocations: 0.6974 MB / 0.8789 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002053/0.7478, allocations: 1.054 MB / 0.8799 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006492/0.7543, allocations: 3.33 MB / 0.8832 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.7543, allocations: 0 / 0.8832 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7543, allocations: 0 / 0.8832 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001179/0.7545, allocations: 0 / 0.8832 GB, free: 10.92 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.005303/0.7598, allocations: 2.272 MB / 0.8854 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.7598, allocations: 12.03 kB / 0.8854 GB, free: 8.582 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004506/0.7603, allocations: 206.8 kB / 0.8856 GB, free: 8.371 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003419/0.7637, allocations: 0.4972 MB / 0.8861 GB, free: 7.871 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002642/0.7664, allocations: 1.341 MB / 0.8874 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.23e-05/0.7664, allocations: 111.6 kB / 0.8875 GB, free: 6.363 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002931/0.7667, allocations: 151.9 kB / 0.8877 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002834/0.7696, allocations: 1.76 MB / 0.8894 GB, free: 4.344 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.771e-05/0.7696, allocations: 4 kB / 0.8894 GB, free: 4.34 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000166/0.7698, allocations: 60 kB / 0.8894 GB, free: 4.281 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.887e-05/0.7699, allocations: 50.55 kB / 0.8895 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00225/0.7721, allocations: 1.407 MB / 0.8909 GB, free: 2.816 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.008703/0.7808, allocations: 7.287 MB / 0.898 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.7824, allocations: 1.06 MB / 0.899 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008865/0.7833, allocations: 0.6944 MB / 0.8997 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002024/0.7835, allocations: 114.1 kB / 0.8998 GB, free: 9.211 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.7835, allocations: 47.56 kB / 0.8998 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001078/0.7846, allocations: 310.8 kB / 0.9001 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=106): time 7.604e-06/0.7846, allocations: 0 / 0.9001 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of matching and sorting (n=112): time 0.008002/0.7926, allocations: 4.438 MB / 0.9045 GB, free: 4.332 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.986e-05/0.7927, allocations: 171.3 kB / 0.9046 GB, free: 4.129 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/0.7942, allocations: 1.267 MB / 0.9059 GB, free: 2.852 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.474e-05/0.7943, allocations: 53.7 kB / 0.9059 GB, free: 2.793 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004747/0.7948, allocations: 0.693 MB / 0.9066 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003278/0.7952, allocations: 406.2 kB / 0.907 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003554/0.7955, allocations: 255.4 kB / 0.9072 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.7956, allocations: 357.9 kB / 0.9076 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007847/0.7964, allocations: 0.5348 MB / 0.9081 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.7975, allocations: 0.8518 MB / 0.9089 GB, free: 15.57 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.01116/0.8086, allocations: 4.805 MB / 0.9136 GB, free: 10.61 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/0.8087, allocations: 4 kB / 0.9136 GB, free: 10.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002709/0.8114, allocations: 1.62 MB / 0.9152 GB, free: 8.973 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.8114, allocations: 8 kB / 0.9152 GB, free: 8.965 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.8114, allocations: 8 kB / 0.9152 GB, free: 8.957 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.38e-05/0.8115, allocations: 16 kB / 0.9152 GB, free: 8.941 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.8126, allocations: 287.5 kB / 0.9155 GB, free: 8.66 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.954e-05/0.8127, allocations: 27.86 kB / 0.9155 GB, free: 8.633 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.8141, allocations: 60.14 kB / 0.9156 GB, free: 8.574 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.8142, allocations: 55.98 kB / 0.9156 GB, free: 8.52 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.0007229/0.815, allocations: 432.8 kB / 0.9161 GB, free: 8.09 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004499/0.8154, allocations: 158.1 kB / 0.9162 GB, free: 7.934 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002144/0.8176, allocations: 1.287 MB / 0.9175 GB, free: 6.633 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.8176, allocations: 12 kB / 0.9175 GB, free: 6.621 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.8176, allocations: 4 kB / 0.9175 GB, free: 6.617 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001482/0.8191, allocations: 1.248 MB / 0.9187 GB, free: 5.305 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005857/0.825, allocations: 3.762 MB / 0.9224 GB, free: 1.344 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/0.825, allocations: 8 kB / 0.9224 GB, free: 1.336 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.8261, allocations: 247.6 kB / 0.9226 GB, free: 1.094 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.388e-05/0.8262, allocations: 16 kB / 0.9226 GB, free: 1.078 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.361e-05/0.8263, allocations: 39.94 kB / 0.9227 GB, free: 1.039 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.991e-05/0.8263, allocations: 23.92 kB / 0.9227 GB, free: 1.016 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/0.8263, allocations: 11.94 kB / 0.9227 GB, free: 1.004 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002761/0.8291, allocations: 2.137 MB / 0.9248 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007074/0.8298, allocations: 363 kB / 0.9251 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002844/0.8301, allocations: 35.94 kB / 0.9252 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/0.8312, allocations: 51.56 kB / 0.9252 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.8314, allocations: 96.31 kB / 0.9253 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.014e-05/0.8315, allocations: 59.97 kB / 0.9254 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00116/0.8326, allocations: 0.8529 MB / 0.9262 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8326, allocations: 0 / 0.9262 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001433/0.8341, allocations: 432 kB / 0.9266 GB, free: 12.83 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.0033/0.8374, allocations: 2.797 MB / 0.9293 GB, free: 9.879 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001992/0.8394, allocations: 1.249 MB / 0.9306 GB, free: 8.629 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.8394, allocations: 3.938 kB / 0.9306 GB, free: 8.625 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007235/0.8401, allocations: 0.5526 MB / 0.9311 GB, free: 8.078 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003815/0.844, allocations: 0.9294 MB / 0.932 GB, free: 7.172 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01764/0.8616, allocations: 12.67 MB / 0.9444 GB, free: 9.82 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/0.8627, allocations: 1.372 MB / 0.9457 GB, free: 8.414 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.00131/0.864, allocations: 389.3 kB / 0.9461 GB, free: 8.027 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008763/0.8649, allocations: 0.6399 MB / 0.9467 GB, free: 7.387 MB / 0.7012 GB Notification: Performance of SimCode: time 5.51e-07/0.8649, allocations: 0 / 0.9467 GB, free: 7.387 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07765/0.9426, allocations: 44.01 MB / 0.9897 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.78/15.73, allocations: 224 / 0.9897 GB, free: 11.86 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)